Skip to content

Commit

Permalink
healt
Browse files Browse the repository at this point in the history
  • Loading branch information
SondreHus committed Oct 20, 2021
1 parent 908c849 commit 83698b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Assets/Scripts/GameState/BaseController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class BaseController : MonoBehaviour
private Transform spawnPoint;

[SerializeField]
private HealthLogic healtController;
private HealthLogic healthController;

// Death flag
private bool dead = false;
Expand Down Expand Up @@ -71,7 +71,7 @@ void Awake()

#endregion Singleton boilerplate

healtController.onDeath += Die;
healthController.onDeath += Die;
anim = GetComponent<Animator>();

if (mainCrystal == null)
Expand All @@ -80,7 +80,7 @@ void Awake()

void OnDestroy()
{
healtController.onDeath -= Die;
healthController.onDeath -= Die;
}

void OnTriggerEnter(Collider other)
Expand Down

0 comments on commit 83698b6

Please sign in to comment.