Make Mobile upgradable

This commit is contained in:
atlimit8
2015-09-25 13:37:50 -05:00
parent 019951795d
commit 0fc04b7a4a
3 changed files with 21 additions and 15 deletions

View File

@@ -61,5 +61,8 @@ namespace OpenRA.Mods.Common.Scripting
{
Self.QueueActivity(new EnterTransport(Self, transport, 1, true));
}
[Desc("Whether the actor can move (false if immobilized).")]
public bool IsMobile { get { return !mobile.IsTraitDisabled; } }
}
}