File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Client/mods/deathmatch/logic Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -410,11 +410,11 @@ void CResource::ShowCursor(bool bShow, bool bToggleControls)
410410
411411 // Update our showing cursor state
412412 m_bShowingCursor = bShow;
413-
414- // Show cursor if more than 0 resources wanting the cursor on
415- g_pCore->ForceCursorVisible (m_iShowingCursor > 0 , bToggleControls);
416- g_pClientGame->SetCursorEventsEnabled (m_iShowingCursor > 0 );
417413 }
414+
415+ // Always update cursor and controls state regardless of cursor visibility change
416+ g_pCore->ForceCursorVisible (m_iShowingCursor > 0 , bToggleControls);
417+ g_pClientGame->SetCursorEventsEnabled (m_iShowingCursor > 0 );
418418}
419419
420420SString CResource::GetResourceDirectoryPath (eAccessType accessType, const SString& strMetaPath)
You can’t perform that action at this time.
0 commit comments