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