Added actor parameter to Lua UnloadPassenger
This commit is contained in:
@@ -44,8 +44,8 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
cargo.Load(Self, a);
|
||||
}
|
||||
|
||||
[Desc("Remove the first actor from the transport. This actor is not added to the world.")]
|
||||
public Actor UnloadPassenger() { return cargo.Unload(Self); }
|
||||
[Desc("Remove an existing actor (or first actor if none specified) from the transport. This actor is not added to the world.")]
|
||||
public Actor UnloadPassenger(Actor a = null) { return cargo.Unload(Self, a); }
|
||||
|
||||
[ScriptActorPropertyActivity]
|
||||
[Desc("Command transport to unload passengers.")]
|
||||
|
||||
Reference in New Issue
Block a user