Prevent things from tweaking mobile position directly.

This commit is contained in:
Paul Chote
2013-07-21 11:48:59 +12:00
parent 0676116d77
commit 3e9bc63d4e
3 changed files with 4 additions and 6 deletions

View File

@@ -167,7 +167,7 @@ namespace OpenRA.Mods.RA.Move
public int ROT { get { return Info.ROT; } }
[Sync] public PPos PxPosition { get; set; }
[Sync] public PPos PxPosition { get; private set; }
[Sync] public CPos fromCell { get { return __fromCell; } }
[Sync] public CPos toCell { get { return __toCell; } }