mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Set g_netoptimize to 1 when spawning server
This commit is contained in:
parent
5136aa4886
commit
6136bbd019
1 changed files with 3 additions and 0 deletions
|
@ -594,6 +594,9 @@ void SV_SpawnServer( const char *server, qboolean loadgame, qboolean restart, qb
|
|||
strncpy( svs.rawServerName, server, sizeof( svs.rawServerName ) );
|
||||
}
|
||||
|
||||
// Added in 2.30
|
||||
Cvar_Set("g_netoptimize", "1");
|
||||
|
||||
// check for a spawn position
|
||||
spawnpos = strchr( server, '$' );
|
||||
if( spawnpos )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue