diff options
Diffstat (limited to 'NorthstarDLL/util')
-rw-r--r-- | NorthstarDLL/util/printmaps.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/util/printmaps.cpp b/NorthstarDLL/util/printmaps.cpp index e0192d69..0a5f73f2 100644 --- a/NorthstarDLL/util/printmaps.cpp +++ b/NorthstarDLL/util/printmaps.cpp @@ -115,10 +115,10 @@ int, __fastcall, (const char const* cmdname, const char const* partial, char com // don't update our map list often from this func, only refresh every 10 seconds so we avoid constantly reading fs static double flLastAutocompleteRefresh = -999; - if (flLastAutocompleteRefresh + 10.0 < Tier0::Plat_FloatTime()) + if (flLastAutocompleteRefresh + 10.0 < R2::g_pGlobals->m_flRealTime) { RefreshMapList(); - flLastAutocompleteRefresh = Tier0::Plat_FloatTime(); + flLastAutocompleteRefresh = R2::g_pGlobals->m_flRealTime; } // use a custom autocomplete func for all map loading commands |