mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-26 03:39:16 +01:00
Let server physics simulate even when there is no players(GoldSrc behaviour)
This commit is contained in:
parent
46a3e729db
commit
ec6bfa2421
@ -529,12 +529,12 @@ qboolean SV_IsSimulating( void )
|
||||
return true; // force simulating for background map
|
||||
}
|
||||
|
||||
if( !SV_HasActivePlayers( ))
|
||||
return false;
|
||||
|
||||
if( Host_IsDedicated() )
|
||||
return true; // always active for dedicated servers
|
||||
|
||||
if( !SV_HasActivePlayers( ))
|
||||
return false;
|
||||
|
||||
// allow to freeze everything in singleplayer
|
||||
if( svs.maxclients <= 1 && sv.playersonly )
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user