Skip to content

Commit cde45c5

Browse files
committed
fix port check
1 parent 7329fb5 commit cde45c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/game/server/tf/tf_gc_server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2839,7 +2839,7 @@ void CTFGCServerSystem::UpdateServerDataAndRefresh()
28392839

28402840
void CTFGCServerSystem::UpdateServerData( bool bShutdown )
28412841
{
2842-
const bool bNotReady = m_iServerIP == 0 || m_iServerPort < 1024 || m_iServerPort > 65535 || SteamGameServer_GetSteamID() <= 1;
2842+
const bool bNotReady = m_iServerIP == 0 || m_iServerPort == 0 || SteamGameServer_GetSteamID() <= 1;
28432843
if ( bNotReady && !bShutdown )
28442844
{
28452845
m_flNextGameServerDataUpdate = Max( m_flNextGameServerDataUpdate, CRTime::RTime32TimeCur() + 1.0);

0 commit comments

Comments
 (0)