1
0
forked from 0ad/0ad

Fix shift-click building placement

This was SVN commit r9027.
This commit is contained in:
Ykkrosh 2011-03-05 14:41:44 +00:00
parent 18cdbd9eab
commit d62e9de7da

View File

@ -340,6 +340,7 @@ function tryPlaceBuilding(queued)
}); });
Engine.GuiInterfaceCall("PlaySound", { "name": "order_repair", "entity": selection[0] }); Engine.GuiInterfaceCall("PlaySound", { "name": "order_repair", "entity": selection[0] });
if (!queued)
resetPlacementEntity(); resetPlacementEntity();
return true; return true;