Allow queueing up scatter and move Nudge to an activity
This commit is contained in:
committed by
Matthias Mailänder
parent
54dac39e83
commit
3ab421cbe3
@@ -90,7 +90,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
var pilot = self.World.CreateActor(true, Info.PilotActor.ToLowerInvariant(), td);
|
||||
|
||||
if (!inAir)
|
||||
pilot.TraitOrDefault<Mobile>()?.Nudge(pilot);
|
||||
pilot.QueueActivity(false, new Nudge(pilot));
|
||||
else
|
||||
Game.Sound.Play(SoundType.World, Info.ChuteSound, cp);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user