Skip to content

Commit aedc26b

Browse files
committed
Fix compile warning
1 parent e4450ad commit aedc26b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/map_votes.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -666,12 +666,12 @@ bool CMapVoteSystem::LoadMapList()
666666
m_vecMapList.AddToTail(CMapInfo(pszName, iWorkshopId, bIsEnabled));
667667
}
668668

669-
new CTimer(0.f, true, true, [this]()
669+
new CTimer(0.f, true, true, []()
670670
{
671-
if (!this || m_DownloadQueue.Count() == 0)
671+
if (g_pMapVoteSystem->m_DownloadQueue.Count() == 0)
672672
return -1.f;
673673

674-
PrintDownloadProgress();
674+
g_pMapVoteSystem->PrintDownloadProgress();
675675

676676
return 1.f;
677677
});

0 commit comments

Comments
 (0)