portal2 icon indicating copy to clipboard operation
portal2 copied to clipboard

Clicking OK on challenge mode cheat dialog shows pause menu instead of leaderboards

Open vrad-exe opened this issue 1 year ago • 1 comments

If you use sv_cheats on a challenge mode map, it shows a dialog indicating that you cheated and your score wasn't saved. Closing this dialog is supposed to open the leaderboards, but since a recent update, it now opens the pause menu instead due to FCVAR_CLIENTCMD_CAN_EXECUTE preventing the leaderboard open command from running. This needs to be changed to use ClientCmd_Unrestricted() so the flag is bypassed.

vrad-exe avatar May 09 '24 02:05 vrad-exe