diff --git a/OpenRA.Game/Graphics/HardwareCursor.cs b/OpenRA.Game/Graphics/HardwareCursor.cs index ec377b26a0ab..b990514a13a0 100644 --- a/OpenRA.Game/Graphics/HardwareCursor.cs +++ b/OpenRA.Game/Graphics/HardwareCursor.cs @@ -151,7 +151,7 @@ void Update() public void Render(Renderer renderer) { - if (cursor.Name == null || !isLocked) + if (cursor == null || !isLocked) return; var cursorSequence = cursorProvider.GetCursorSequence(cursor.Name);