Fix TestPack
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user