fixed powerdown/blocked cursors
This commit is contained in:
@@ -35,5 +35,6 @@ namespace OpenRa
|
||||
public static Cursor Repair { get { return new Cursor("repair"); } }
|
||||
public static Cursor RepairBlocked { get { return new Cursor("repair-blocked"); } }
|
||||
public static Cursor PowerDown { get { return new Cursor("powerdown"); } }
|
||||
public static Cursor PowerDownBlocked { get { return new Cursor("powerdown-blocked"); } }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace OpenRa.Orders
|
||||
{
|
||||
mi.Button = MouseButton.Left;
|
||||
return OrderInner(world, xy, mi).Any()
|
||||
? Cursor.PowerDown : Cursor.RepairBlocked;
|
||||
? Cursor.PowerDown : Cursor.PowerDownBlocked;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user