Compare commits

..

No commits in common. "f320603800f7e70dfd38c22af7eb6109d12945cf" and "b228433eaac2e218d41c0825334c6f5cd45dc27b" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ public class HealthComponent : MonoBehaviour, ISquezeDamageReceiver
void Awake()
{
currentHealth = maxHealth;
OnHealthChange.AddListener((prev, nex) => showRedTint = nex<prev);
OnHealthChange.AddListener((_, _) => showRedTint = true);
StartCoroutine(RedTintLoop());
}