Don't require a WorldRenderer to draw non-world-rendering widgets.
This commit is contained in:
@@ -27,7 +27,7 @@ namespace OpenRA.Widgets
|
||||
bool boundReadOnly;
|
||||
FieldInfo boundField;
|
||||
|
||||
public override void DrawInner( WorldRenderer wr )
|
||||
public override void DrawInner()
|
||||
{
|
||||
var font = Bold ? Game.Renderer.BoldFont : Game.Renderer.RegularFont;
|
||||
var pos = RenderOrigin;
|
||||
|
||||
Reference in New Issue
Block a user