Load Ammo context menu in raid

This commit is contained in:
Tyfon
2024-06-10 02:21:45 -07:00
parent c643b12455
commit 613130f537
4 changed files with 96 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ namespace UIFixes
// In Raid
public static ConfigEntry<bool> RemoveDisabledActions { get; set; }
public static ConfigEntry<bool> EnableLoadAmmo { get; set; }
// Flea Market
public static ConfigEntry<bool> EnableFleaHistory { get; set; }
@@ -388,6 +389,15 @@ namespace UIFixes
null,
new ConfigurationManagerAttributes { })));
configEntries.Add(EnableLoadAmmo = config.Bind(
InRaidSection,
"Enable Load Ammo Context Menu",
true,
new ConfigDescription(
"Allows ammo to be loaded through the magazine context menu",
null,
new ConfigurationManagerAttributes { })));
// Flea Market
configEntries.Add(EnableFleaHistory = config.Bind(
FleaMarketSection,