Don't require a WorldRenderer to draw non-world-rendering widgets.
This commit is contained in:
@@ -76,7 +76,7 @@ namespace OpenRA.Widgets
|
||||
overlaySprite.sheet.Texture.SetData(overlay);
|
||||
}
|
||||
|
||||
public override void DrawInner( WorldRenderer wr )
|
||||
public override void DrawInner()
|
||||
{
|
||||
if (video == null)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user