Merge branch 'addfile-order' into 'master'

re-order Addons Menu updating (resolves #835)

Closes #835

See merge request KartKrew/Kart!2158
This commit is contained in:
James R. 2024-03-25 23:38:46 +00:00
commit b3320d5ef2
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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