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'.
This commit is contained in:
Kawe Mazidjatari 2023-02-08 22:54:35 +01:00
parent 55ec60e1ae
commit f6df34d68d

View File

@ -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
}
}