Rearrange advanced settings; separate raid scroll speed; remember hideout level

This commit is contained in:
Tyfon
2024-05-26 17:30:44 -07:00
parent 3d8b1edc13
commit 66ce87f5e7
5 changed files with 131 additions and 25 deletions

View File

@@ -1,4 +1,6 @@
using BepInEx;
using Comfort.Common;
using EFT;
namespace UIFixes
{
@@ -17,6 +19,7 @@ namespace UIFixes
new FixWeaponBindsDisplayPatch().Enable();
FocusFleaOfferNumberPatches.Enable();
HideoutSearchPatches.Enable();
HideoutLevelPatches.Enable();
InspectWindowResizePatches.Enable();
InspectWindowStatsPatches.Enable();
new RemoveDoorActionsPatch().Enable();
@@ -33,5 +36,11 @@ namespace UIFixes
KeepOfferWindowOpenPatches.Enable();
AddOfferClickablePricesPatches.Enable();
}
public static bool InRaid()
{
bool? inRaid = Singleton<AbstractGame>.Instance?.InRaid;
return inRaid.HasValue && inRaid.Value;
}
}
}