Make INotifyKilled require explicit implementation

This commit is contained in:
reaperrr
2018-04-29 04:46:23 +02:00
committed by Paul Chote
parent 7ca9aa5e0b
commit 3a82b13093
9 changed files with 9 additions and 8 deletions

View File

@@ -29,7 +29,7 @@ namespace OpenRA.Mods.Common.Traits.Sound
this.info = info;
}
public void Killed(Actor self, AttackInfo e)
void INotifyKilled.Killed(Actor self, AttackInfo e)
{
var player = info.NotifyAll ? self.World.LocalPlayer : self.Owner;
Game.Sound.PlayNotification(self.World.Map.Rules, player, "Speech", info.Notification, self.Owner.Faction.InternalName);