Make INotifyDamage require explicit implementation
This commit is contained in:
@@ -74,7 +74,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
}
|
||||
}
|
||||
|
||||
public void Damaged(Actor self, AttackInfo e)
|
||||
void INotifyDamage.Damaged(Actor self, AttackInfo e)
|
||||
{
|
||||
if (e.Damage.Value > 0)
|
||||
damageTicks = Info.DamageCooldown;
|
||||
|
||||
Reference in New Issue
Block a user