Merge branch 'main' of https://gitea.deprived.dev/Sveskejuice/fgm24
This commit is contained in:
commit
bc988ab60e
|
@ -36,7 +36,7 @@ public class HealthComponent : MonoBehaviour, ISquezeDamageReceiver
|
|||
void Awake()
|
||||
{
|
||||
currentHealth = maxHealth;
|
||||
OnHealthChange.AddListener((_, _) => showRedTint = true);
|
||||
OnHealthChange.AddListener((prev, nex) => showRedTint = nex<prev);
|
||||
StartCoroutine(RedTintLoop());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue