Skip to content

Commit 08ec047

Browse files
committed
Set sv_pure 0 on local client when loading a map with /map or /devmap
1 parent e8cc977 commit 08ec047

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

codemp/server/sv_ccmds.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@ static void SV_Map_f( void ) {
188188
return;
189189
}
190190

191+
#ifndef DEDICATED
192+
Cvar_Set("sv_pure", "0");
193+
#endif
194+
191195
// force latched values to get set
192196
Cvar_Get ("g_gametype", "0", CVAR_SERVERINFO | CVAR_LATCH );
193197

0 commit comments

Comments
 (0)