2
0
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:
Alibek Omarov 2018-05-03 17:53:49 +03:00
parent 46a3e729db
commit ec6bfa2421

View File

@ -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;