Skip to content

Fix Sync/Reset loadout commands being restricted #1283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ficool2
Copy link
Contributor

@ficool2 ficool2 commented May 14, 2025

In mods that restrict client commands (via engine->SetRestrictClientCommands), the loadout sync and reset buttons don't work as they get blocked by this restriction:

FCVAR_CLIENTCMD_CAN_EXECUTE prevented running command: reset_loadout_ui
Unknown command: reset_loadout_ui
FCVAR_CLIENTCMD_CAN_EXECUTE prevented running command: clear_loadout_ui
Unknown command: clear_loadout_ui

The fix simply runs these commands as unrestricted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant