mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-25 14:24:45 +00: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
|
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…
x
Reference in New Issue
Block a user