fix: rotation on getting hit fixed

This commit is contained in:
Chris
2025-10-03 20:59:17 -04:00
parent 7068d39b5b
commit c06ed7a46a
3 changed files with 9 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ public class Player : NetworkBehaviour, IKillable{
void Start(){
if (((IKillable)this).maxHealth == 0f) {
Debug.LogError($"Max health is not set for type of <b>{name}</b>. Setting to 100.");
((IKillable)this).currentHealth = 100f;
((IKillable)this).currentHealth = 10000f;
} else {
((IKillable)this).currentHealth = ((IKillable)this).maxHealth;
}