Skip to content
Snippets Groups Projects
Commit 09416256 authored by Adelline Kania's avatar Adelline Kania
Browse files

feat: reset cheat on change scene

parent 425cb7b6
No related merge requests found
...@@ -21,6 +21,7 @@ public class CheatManager : MonoBehaviour ...@@ -21,6 +21,7 @@ public class CheatManager : MonoBehaviour
"Press Backslash for Full HP Pet Cheat", "Press Backslash for Full HP Pet Cheat",
"Press P for Kill Pet Cheat" "Press P for Kill Pet Cheat"
}; };
ResetCheat();
} }
...@@ -75,7 +76,7 @@ public class CheatManager : MonoBehaviour ...@@ -75,7 +76,7 @@ public class CheatManager : MonoBehaviour
} }
} }
public static void ResetCheat() { void ResetCheat() {
PlayerHealth.noDamageCheat = false; PlayerHealth.noDamageCheat = false;
PlayerShooting.hitKillCheat = false; PlayerShooting.hitKillCheat = false;
GoldManager.gold = 100; GoldManager.gold = 100;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment