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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue