Skip to content

Commit e4120c8

Browse files
Synchronize changes from 1.6 master branch [ci skip]
0483b29 Fix area name showing for a second when joining to server for first time (#4549)
2 parents 7c2730a + 0483b29 commit e4120c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Client/mods/deathmatch/logic/CPacketHandler.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,10 @@ void CPacketHandler::Packet_ServerConnected(NetBitStreamInterface& bitStream)
309309
if (g_pGame->GetSystemState() == SystemState::GS_FRONTEND)
310310
{
311311
g_pGame->StartGame();
312+
313+
// Fix area name showing for a second when joining to server for first time
314+
// HUD_AREA_NAME will be made visible later in the process when the camera fades in (CCameraRPCs::FadeCamera)
315+
g_pGame->GetHud()->SetComponentVisible(HUD_AREA_NAME, false);
312316
}
313317
}
314318

0 commit comments

Comments
 (0)