mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: server: send heartbeats to master server if sv_nat is active, despite public cvar value
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user