Cancel PBOG when placement becomes invalid.
This commit is contained in:
@@ -128,6 +128,9 @@ namespace OpenRA.Mods.Common.Orders
|
||||
|
||||
public void Tick(World world)
|
||||
{
|
||||
if (queue.CurrentItem() == null || queue.CurrentItem().Item != building)
|
||||
world.CancelInputMode();
|
||||
|
||||
if (preview == null)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user