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