fixed order canceling
This commit is contained in:
@@ -55,8 +55,13 @@ namespace OpenRa.Game.Traits
|
||||
return new MoveOrder(self, xy);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public void Cancel(Actor self)
|
||||
{
|
||||
if (currentAction != null)
|
||||
currentAction.Cancel(self, this);
|
||||
}
|
||||
|
||||
|
||||
public interface CurrentAction
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user