mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-28 06:28:06 +03:00
Merge pull request #463 from s1lentq/hltv-fixport
HLTV: Fixes wrong port sending via steamapi
This commit is contained in:
commit
3c05dad7a7
@ -132,7 +132,7 @@ void Master::RunFrame(double time)
|
||||
SteamGameServer()->SetGameDescription("hltv");
|
||||
SteamGameServer()->SetModDir(world->GetGameDir());
|
||||
SteamGameServer()->SetDedicatedServer(true);
|
||||
SteamGameServer()->SetSpectatorPort(netAdr->m_Port);
|
||||
SteamGameServer()->SetSpectatorPort(htons(netAdr->m_Port));
|
||||
SteamGameServer()->LogOnAnonymous();
|
||||
|
||||
SteamGameServer()->EnableHeartbeats(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user