Fix TestPack

This commit is contained in:
2023-03-26 16:41:13 +03:00
parent fe0ee319e1
commit 9bf19a4c3c
11 changed files with 471 additions and 152623 deletions
+2 -1
View File
@@ -41,6 +41,7 @@ public class Player : MonoBehaviour
}
PlayerPrefs.SetString("lastExitName", string.Empty);
Instance = this;
Stats = PlayerStats.CreateInitialStats();
DontDestroyOnLoad(gameObject);
}
@@ -49,7 +50,7 @@ public class Player : MonoBehaviour
TimeManager.Instance.OnMinuteChanged += UpdateStatsByClock;
_animator.applyRootMotion = true;
_navAgent.updatePosition = false;
Stats = PlayerStats.CreateInitialStats();
_currentActing = PlayerStates.Awake;
}