From 0a8e47c357f33f0ae61d387770a7d5e43bb60908 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Thu, 13 Jun 2013 10:02:32 +1200 Subject: [PATCH] Fix #3393: Prevent ScaredyCat from reacting to healing --- OpenRA.Mods.RA/ScaredyCat.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRA.Mods.RA/ScaredyCat.cs b/OpenRA.Mods.RA/ScaredyCat.cs index edf4e88a26..2696e6c637 100644 --- a/OpenRA.Mods.RA/ScaredyCat.cs +++ b/OpenRA.Mods.RA/ScaredyCat.cs @@ -63,7 +63,8 @@ namespace OpenRA.Mods.RA public void Damaged(Actor self, AttackInfo e) { - Panic(); + if (e.Damage > 0) + Panic(); } public void Attacking(Actor self, Target target)