mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-19 12:01:36 +00:00
SV_SpawnServer: Register netgame-advertised servers with the MS
This is done in a different location in the previous entry in the series, but the author of this commit couldn't find it. Since we're using the 2.2 codebase, it's been put where they have it instead.
This commit is contained in:
parent
47055bcda7
commit
afb7328aa4
1 changed files with 5 additions and 0 deletions
|
|
@ -4226,6 +4226,11 @@ boolean SV_SpawnServer(void)
|
|||
I_NetOpenSocket();
|
||||
}
|
||||
|
||||
if (cv_advertise.value)
|
||||
{
|
||||
RegisterServer();
|
||||
}
|
||||
|
||||
ourIP = 0;
|
||||
STUN_bind(GotOurIP);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue