Add RepairSound to EngineerRepair.
This commit is contained in:
committed by
reaperrr
parent
0f9a157943
commit
e63f52c43f
@@ -63,6 +63,8 @@ namespace OpenRA.Mods.Common.Activities
|
||||
return;
|
||||
|
||||
enterActor.InflictDamage(self, new Damage(-enterHealth.MaxHP));
|
||||
if (!string.IsNullOrEmpty(info.RepairSound))
|
||||
Game.Sound.Play(SoundType.World, info.RepairSound, enterActor.CenterPosition);
|
||||
|
||||
if (info.EnterBehaviour == EnterBehaviour.Dispose)
|
||||
self.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user