diff --git a/Fika.Core/Coop/GameMode/CoopGame.cs b/Fika.Core/Coop/GameMode/CoopGame.cs index 84d772bc..e7bfb30e 100644 --- a/Fika.Core/Coop/GameMode/CoopGame.cs +++ b/Fika.Core/Coop/GameMode/CoopGame.cs @@ -728,9 +728,8 @@ private IEnumerator WaitForOtherPlayers() NetDataWriter writer = new(); - FikaBackendUtils.ScreenController.ChangeStatus("Waiting for other players to finish loading...", 0); - float expectedPlayers = FikaBackendUtils.HostExpectedNumberOfPlayers; + FikaBackendUtils.ScreenController.ChangeStatus("Waiting for other players to finish loading...", (float)(1 / expectedPlayers)); if (isServer) { diff --git a/Fika.Core/UI/Patches/InventoryScroll_Patch.cs b/Fika.Core/UI/Patches/InventoryScroll_Patch.cs deleted file mode 100644 index 4e1e0ed1..00000000 --- a/Fika.Core/UI/Patches/InventoryScroll_Patch.cs +++ /dev/null @@ -1,31 +0,0 @@ -/*using EFT.UI; -using SPT.Reflection.Patching; -using System.Reflection; -using UnityEngine.UI; - -namespace Fika.Core.UI.Patches -{ - public class InventoryScroll_Patch : ModulePatch - { - protected override MethodBase GetTargetMethod() - { - return typeof(SimpleStashPanel).GetMethod(nameof(SimpleStashPanel.Show)); - } - - [PatchPrefix] - public static void Prefix(ScrollRect ____stashScroll) - { - if (____stashScroll != null) - { - if (FikaPlugin.FasterInventoryScroll.Value) - { - ____stashScroll.scrollSensitivity = FikaPlugin.FasterInventoryScrollSpeed.Value; - } - else - { - ____stashScroll.scrollSensitivity = 63; - } - } - } - } -}*/ \ No newline at end of file