mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-16 08:38:10 +03:00
Fixes wrong port sending via steamapi
This commit is contained in:
parent
ba25dfb20a
commit
759f51552e
@ -132,7 +132,7 @@ void Master::RunFrame(double time)
|
|||||||
SteamGameServer()->SetGameDescription("hltv");
|
SteamGameServer()->SetGameDescription("hltv");
|
||||||
SteamGameServer()->SetModDir(world->GetGameDir());
|
SteamGameServer()->SetModDir(world->GetGameDir());
|
||||||
SteamGameServer()->SetDedicatedServer(true);
|
SteamGameServer()->SetDedicatedServer(true);
|
||||||
SteamGameServer()->SetSpectatorPort(netAdr->m_Port);
|
SteamGameServer()->SetSpectatorPort(htons(netAdr->m_Port));
|
||||||
SteamGameServer()->LogOnAnonymous();
|
SteamGameServer()->LogOnAnonymous();
|
||||||
|
|
||||||
SteamGameServer()->EnableHeartbeats(true);
|
SteamGameServer()->EnableHeartbeats(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user