IOrderGenerator now renders itself (Removed various cast and is fails.). - Fixed silly bug in prev.
This commit is contained in:
@@ -43,5 +43,10 @@ namespace OpenRa.Game
|
||||
if( producing == null || producing.Item != Building.Name || producing.RemainingTime != 0 )
|
||||
Game.world.AddFrameEndTask( _ => { Game.controller.orderGenerator = null; } );
|
||||
}
|
||||
|
||||
public void Render()
|
||||
{
|
||||
Game.worldRenderer.uiOverlay.DrawBuildingGrid( Building );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user