routing modifier keys where they need to be
This commit is contained in:
@@ -16,9 +16,9 @@ namespace OpenRa.Game.Traits
|
||||
targetLocation = self.Location;
|
||||
}
|
||||
|
||||
public Order IssueOrder(Actor self, int2 xy, bool lmb, Actor underCursor)
|
||||
public Order IssueOrder(Actor self, int2 xy, MouseInput mi, Actor underCursor)
|
||||
{
|
||||
if (lmb) return null;
|
||||
if (mi.Button == MouseButton.Left) return null;
|
||||
|
||||
if (underCursor == null)
|
||||
return Order.Move(self, xy);
|
||||
|
||||
Reference in New Issue
Block a user