mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fix cheats mistakenly being disabled when loading a saved game, when developer mode is enabled
This commit is contained in:
parent
edf3560dd5
commit
4e174fd5bf
1 changed files with 1 additions and 1 deletions
|
@ -2317,7 +2317,7 @@ void SV_Loadgame_f(void)
|
|||
Cvar_Get("g_gametype", "0", CVAR_LATCH | CVAR_SERVERINFO);
|
||||
Cvar_Get("sv_maxclients", "0", CVAR_LATCH | CVAR_SERVERINFO);
|
||||
|
||||
if (developer->integer) {
|
||||
if (!developer->integer) {
|
||||
if (svs.iNumClients == 1) {
|
||||
Cvar_Set("cheats", "1");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue