mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2025-01-10 02:15:34 +01:00
engine: server: send heartbeats to master server if sv_nat is active, despite public cvar value
This commit is contained in:
parent
602f23fbdf
commit
474833a3bf
@ -716,7 +716,7 @@ let it know we are alive, and log information
|
||||
*/
|
||||
static void Master_Heartbeat( void )
|
||||
{
|
||||
if( !public_server->value || svs.maxclients == 1 )
|
||||
if(( !public_server->value && !sv_nat.value ) || svs.maxclients == 1 )
|
||||
return; // only public servers send heartbeats
|
||||
|
||||
// check for time wraparound
|
||||
|
Loading…
Reference in New Issue
Block a user