Don't show ping in lobby

This commit is contained in:
m 2022-03-02 16:50:40 -06:00
parent 6622108633
commit cf6cc99a89

View File

@ -111,7 +111,7 @@ namespace fps
void cg_draw_ping()
{
if (cg_drawping->current.integer > 0 && game::CL_IsCgameInitialized())
if (cg_drawping->current.integer > 0 && game::CL_IsCgameInitialized() && !game::VirtualLobby_Loaded())
{
const auto ping = *reinterpret_cast<int*>(0x142D106F0);