finished building *Infos
This commit is contained in:
@@ -27,7 +27,7 @@ namespace OpenRa.Game.Orders
|
||||
&& a.traits.Contains<Building>()
|
||||
&& a.Info.Selectable).FirstOrDefault();
|
||||
|
||||
var building = underCursor != null ? underCursor.Info as BuildingInfo : null;
|
||||
var building = underCursor != null ? underCursor.Info as LegacyBuildingInfo : null;
|
||||
|
||||
if (building != null)
|
||||
yield return new Order("PowerDown", underCursor, null, int2.Zero, null);
|
||||
|
||||
Reference in New Issue
Block a user