Fix cursors over closed radarbin
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user