fix repair canceling itself

This commit is contained in:
Chris Forbes
2010-07-13 18:21:37 +12:00
committed by Paul Chote
parent 7902a5e050
commit 3e0f850309

View File

@@ -52,7 +52,7 @@ namespace OpenRA.Mods.RA.Orders
public void Tick( World world )
{
if( PlayerIsAllowedToRepair( world ) )
if( !PlayerIsAllowedToRepair( world ) )
Game.controller.CancelInputMode();
}