fixed: player jittering and death sliding

This commit is contained in:
Sam
2023-04-30 23:53:52 -07:00
parent 14a4de41cc
commit 46f7cfe07e
5 changed files with 9 additions and 107 deletions

View File

@@ -7,7 +7,7 @@ using TMPro;
public class DebugSceneSwitcher : MonoBehaviour
{
void Start() {
void Awake() {
if (!GameObject.Find("StateController").GetComponent<StateController>().inDebugMode) {
Destroy(this.gameObject);
}