From f6df34d68d8307b2430b8a42ca82cd24390ec108 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Wed, 8 Feb 2023 22:54:35 +0100 Subject: [PATCH] Fix bug caused by recent addition of completion funcs 'map' and 'map_background' were removed from the array, and thus 'FCVAR_DEVELOPMENTONLY' wasn't masked off. As of this commit, its getting masked off along with 'FCVAR_SERVER_CAN_EXECUTE'. --- r5dev/tier1/cmd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/r5dev/tier1/cmd.cpp b/r5dev/tier1/cmd.cpp index 70c0586b..83d43caa 100644 --- a/r5dev/tier1/cmd.cpp +++ b/r5dev/tier1/cmd.cpp @@ -471,9 +471,9 @@ void ConCommand::InitShipped(void) migrateme->RemoveFlags(FCVAR_SERVER_CAN_EXECUTE); #ifndef CLIENT_DLL changelevel->RemoveFlags(FCVAR_DEVELOPMENTONLY); - map->RemoveFlags(FCVAR_SERVER_CAN_EXECUTE); - map_background->RemoveFlags(FCVAR_SERVER_CAN_EXECUTE); - ss_map->RemoveFlags(FCVAR_SERVER_CAN_EXECUTE); + map->RemoveFlags(FCVAR_DEVELOPMENTONLY|FCVAR_SERVER_CAN_EXECUTE); + map_background->RemoveFlags(FCVAR_DEVELOPMENTONLY|FCVAR_SERVER_CAN_EXECUTE); + ss_map->RemoveFlags(FCVAR_DEVELOPMENTONLY|FCVAR_SERVER_CAN_EXECUTE); #endif // !CLIENT_DLL } }