diff --git a/OpenRA.Mods.RA/Widgets/RadarWidget.cs b/OpenRA.Mods.RA/Widgets/RadarWidget.cs index c4698d94cc..72830d5e92 100755 --- a/OpenRA.Mods.RA/Widgets/RadarWidget.cs +++ b/OpenRA.Mods.RA/Widgets/RadarWidget.cs @@ -128,7 +128,7 @@ namespace OpenRA.Mods.RA.Widgets public override void Draw() { if (world == null) return; - if( world.LocalPlayer.WinState != WinState.Undefined ) return; + if (world.LocalPlayer != null && world.LocalPlayer.WinState != WinState.Undefined) return; var o = new float2(mapRect.Location.X, mapRect.Location.Y + world.Map.Bounds.Height * previewScale * (1 - radarMinimapHeight)/2); var s = new float2(mapRect.Size.Width, mapRect.Size.Height*radarMinimapHeight);