Browse Source

engine: server: send heartbeats to master server if sv_nat is active, despite public cvar value

pull/2/head
Alibek Omarov 2 years ago
parent
commit
474833a3bf
  1. 2
      engine/server/sv_main.c

2
engine/server/sv_main.c

@ -716,7 +716,7 @@ let it know we are alive, and log information
*/ */
static void Master_Heartbeat( void ) 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 return; // only public servers send heartbeats
// check for time wraparound // check for time wraparound

Loading…
Cancel
Save