Skip to content

Commit

Permalink
[CoC] Fixed crash after closing PDA when navigated to 'statistics' (f…
Browse files Browse the repository at this point in the history
…ixes #1766) (#1770)
  • Loading branch information
TIHan authored Jan 13, 2025
1 parent 6df6613 commit 4639115
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xrGame/ui/UIRankingWnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,13 @@ void CUIRankingWnd::Show(bool status)

void CUIRankingWnd::Update()
{
inherited::Update();
if (Device.dwTimeGlobal - m_previous_time > m_delay)
{
m_previous_time = Device.dwTimeGlobal;
update_info();
}
if (IsShown())
inherited::Update();
}

bool CUIRankingWnd::Init()
Expand Down

0 comments on commit 4639115

Please sign in to comment.