From 760bdaf808d9a8f55b87ff2e955e9f07daaabb06 Mon Sep 17 00:00:00 2001 From: winstxnhdw Date: Mon, 11 Dec 2023 23:20:34 +0800 Subject: [PATCH] style: rename to `StaminaMod` --- lc-hax/Scripts/Loader.cs | 2 +- lc-hax/Scripts/Modules/{SprintMod.cs => StaminaMod.cs} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename lc-hax/Scripts/Modules/{SprintMod.cs => StaminaMod.cs} (86%) diff --git a/lc-hax/Scripts/Loader.cs b/lc-hax/Scripts/Loader.cs index a46a1263..acee1610 100644 --- a/lc-hax/Scripts/Loader.cs +++ b/lc-hax/Scripts/Loader.cs @@ -58,7 +58,7 @@ static void LoadHaxModules() { Loader.AddHaxModules(); Loader.AddHaxModules(); - Loader.AddHaxModules(); + Loader.AddHaxModules(); Loader.AddHaxModules(); Loader.AddHaxModules(); Loader.AddHaxModules(); diff --git a/lc-hax/Scripts/Modules/SprintMod.cs b/lc-hax/Scripts/Modules/StaminaMod.cs similarity index 86% rename from lc-hax/Scripts/Modules/SprintMod.cs rename to lc-hax/Scripts/Modules/StaminaMod.cs index ea3abdc3..50b0eb74 100644 --- a/lc-hax/Scripts/Modules/SprintMod.cs +++ b/lc-hax/Scripts/Modules/StaminaMod.cs @@ -4,7 +4,7 @@ namespace Hax; -public class SprintMod : MonoBehaviour { +public class StaminaMod : MonoBehaviour { IEnumerator SetSprint() { while (true) { if (!Helper.Extant(Helper.LocalPlayer, out PlayerControllerB player)) { @@ -17,7 +17,7 @@ IEnumerator SetSprint() { player.isExhausted = false; player.sprintMeter = 1.0f; - yield return new WaitForSeconds(2.0f); + yield return new WaitForSeconds(3.0f); } }