Let server physics simulate even when there is no players(GoldSrc behaviour)
This commit is contained in:
parent
46a3e729db
commit
ec6bfa2421
1 changed files with 3 additions and 3 deletions
|
@ -529,12 +529,12 @@ qboolean SV_IsSimulating( void )
|
||||||
return true; // force simulating for background map
|
return true; // force simulating for background map
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !SV_HasActivePlayers( ))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if( Host_IsDedicated() )
|
if( Host_IsDedicated() )
|
||||||
return true; // always active for dedicated servers
|
return true; // always active for dedicated servers
|
||||||
|
|
||||||
|
if( !SV_HasActivePlayers( ))
|
||||||
|
return false;
|
||||||
|
|
||||||
// allow to freeze everything in singleplayer
|
// allow to freeze everything in singleplayer
|
||||||
if( svs.maxclients <= 1 && sv.playersonly )
|
if( svs.maxclients <= 1 && sv.playersonly )
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue