Skip to content

Commit

Permalink
style: rename to StaminaMod
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Dec 11, 2023
1 parent e3e10f1 commit 760bdaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lc-hax/Scripts/Loader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static void LoadHaxModules() {

Loader.AddHaxModules<SaneMod>();
Loader.AddHaxModules<ChatMod>();
Loader.AddHaxModules<SprintMod>();
Loader.AddHaxModules<StaminaMod>();
Loader.AddHaxModules<ShovelMod>();
Loader.AddHaxModules<WeightMod>();
Loader.AddHaxModules<PhantomMod>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand All @@ -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);
}
}

Expand Down

0 comments on commit 760bdaf

Please sign in to comment.