fixed: player jittering and death sliding
This commit is contained in:
@@ -7,7 +7,7 @@ using TMPro;
|
||||
public class DebugSceneSwitcher : MonoBehaviour
|
||||
{
|
||||
|
||||
void Start() {
|
||||
void Awake() {
|
||||
if (!GameObject.Find("StateController").GetComponent<StateController>().inDebugMode) {
|
||||
Destroy(this.gameObject);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user