disallow building placement when the game is paused
touches the most glitchy case of #3277
This commit is contained in:
@@ -54,6 +54,9 @@ namespace OpenRA.Mods.RA.Orders
|
||||
|
||||
IEnumerable<Order> InnerOrder(World world, CPos xy, MouseInput mi)
|
||||
{
|
||||
if (world.Paused == World.PauseState.Paused)
|
||||
yield break;
|
||||
|
||||
if (mi.Button == MouseButton.Left)
|
||||
{
|
||||
var topLeft = xy - FootprintUtils.AdjustForBuildingSize(BuildingInfo);
|
||||
|
||||
Reference in New Issue
Block a user