fix player color blocks not showing up in MapPreviewWidget
This commit is contained in:
@@ -70,6 +70,7 @@ namespace OpenRA.Widgets
|
||||
float PreviewScale = 0;
|
||||
static Sprite UnownedSpawn = null;
|
||||
static Sprite OwnedSpawn = null;
|
||||
|
||||
public override void DrawInner( World world )
|
||||
{
|
||||
if (UnownedSpawn == null)
|
||||
@@ -105,6 +106,8 @@ namespace OpenRA.Widgets
|
||||
"chrome",
|
||||
new float2( MapRect.Size ) );
|
||||
|
||||
Game.Renderer.RgbaSpriteRenderer.Flush();
|
||||
|
||||
// Overlay spawnpoints
|
||||
var colors = SpawnColors();
|
||||
foreach (var p in map.SpawnPoints)
|
||||
|
||||
Reference in New Issue
Block a user