Fix cursors over closed radarbin

This commit is contained in:
Paul Chote
2010-07-22 21:44:45 +12:00
parent 37a55715d0
commit 3e493cb93c

View File

@@ -55,8 +55,8 @@ namespace OpenRA.Widgets
public override string GetCursor(int2 pos) public override string GetCursor(int2 pos)
{ {
if (world == null) if (world == null || !hasRadar)
return "default"; return null;
var loc = MinimapPixelToCell(pos); var loc = MinimapPixelToCell(pos);