Fixed left-click orders and implemented a selection deadzone.

This commit is contained in:
Bynnar18
2015-02-25 19:28:32 -06:00
parent 36d59d6b1d
commit 7b46b76329
9 changed files with 63 additions and 32 deletions

View File

@@ -70,7 +70,7 @@ namespace OpenRA.Mods.Common.Traits
public IEnumerable<Order> Order(World world, CPos xy, MouseInput mi)
{
if (mi.Button == Game.mouseButtonPreference.Cancel)
if (mi.Button == Game.Settings.Game.MouseButtonPreference.Cancel)
{
world.CancelInputMode();
yield break;