diff --git a/src/d_clisrv.c b/src/d_clisrv.c index af00d6eaa..1bba92aca 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -67,6 +67,7 @@ #include "k_bans.h" #include "sanitize.h" #include "r_fps.h" +#include "filesrch.h" // refreshdirmenu // cl loading screen #include "v_video.h" @@ -6711,6 +6712,7 @@ void NetUpdate(void) I_lock_mutex(&k_menu_mutex); #endif M_Ticker(); + refreshdirmenu = 0; #ifdef HAVE_THREADS I_unlock_mutex(k_menu_mutex); #endif diff --git a/src/d_main.cpp b/src/d_main.cpp index 272697461..b0ce25e5e 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -69,7 +69,6 @@ #include "fastcmp.h" #include "r_fps.h" // Frame interpolation/uncapped #include "keys.h" -#include "filesrch.h" // refreshdirmenu #include "g_input.h" // tutorial mode control scheming #include "m_perfstats.h" #include "core/memory.h" @@ -922,8 +921,6 @@ void D_SRB2Loop(void) if (renderisnewtic) { - refreshdirmenu = 0; - P_ResetInterpHudRandSeed(timeisprogressing); // don't skip more than 10 frames at a time