default ammo box unload in place off if fika present

This commit is contained in:
Tyfon
2024-08-22 12:12:07 -07:00
parent 7bdd98ecd1
commit 6144a11a9f

View File

@@ -1,4 +1,5 @@
using BepInEx.Configuration; using BepInEx.Bootstrap;
using BepInEx.Configuration;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
@@ -555,7 +556,7 @@ internal class Settings
configEntries.Add(UnloadAmmoBoxInPlace = config.Bind( configEntries.Add(UnloadAmmoBoxInPlace = config.Bind(
InventorySection, InventorySection,
"Unload Ammo Boxes In-Place", "Unload Ammo Boxes In-Place",
true, !Chainloader.PluginInfos.ContainsKey("com.fika.core"), // default false if fika present, has issues with ground loot
new ConfigDescription( new ConfigDescription(
"Whether to unload ammo boxes in-place, otherwise there needs to be free space somewhere", "Whether to unload ammo boxes in-place, otherwise there needs to be free space somewhere",
null, null,