From 89af4038955b7c19d9650b1031ab5f36ed64e768 Mon Sep 17 00:00:00 2001 From: SpoodyTheOne Date: Sun, 4 Feb 2024 11:48:46 +0100 Subject: [PATCH] Dont tick red when positive damage --- Assets/Scripts/Player/HealthComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Player/HealthComponent.cs b/Assets/Scripts/Player/HealthComponent.cs index e110192..83079fc 100644 --- a/Assets/Scripts/Player/HealthComponent.cs +++ b/Assets/Scripts/Player/HealthComponent.cs @@ -36,7 +36,7 @@ public class HealthComponent : MonoBehaviour, ISquezeDamageReceiver void Awake() { currentHealth = maxHealth; - OnHealthChange.AddListener((_, _) => showRedTint = true); + OnHealthChange.AddListener((prev, nex) => showRedTint = nex