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