mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't skip signature check steps if server is lagging
This commit is contained in:
parent
1e6ab6107e
commit
dcaa1c3902
2 changed files with 7 additions and 0 deletions
|
|
@ -620,6 +620,9 @@ void CL_TimeoutServerList(void);
|
||||||
// Is there a game running
|
// Is there a game running
|
||||||
boolean Playing(void);
|
boolean Playing(void);
|
||||||
|
|
||||||
|
// Advance client-to-client pubkey verification flow
|
||||||
|
void UpdateChallenges(void);
|
||||||
|
|
||||||
// Broadcasts special packets to other players
|
// Broadcasts special packets to other players
|
||||||
// to notify of game exit
|
// to notify of game exit
|
||||||
void D_QuitNetGame(void);
|
void D_QuitNetGame(void);
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@
|
||||||
#include "i_video.h" // rendermode
|
#include "i_video.h" // rendermode
|
||||||
#include "r_main.h"
|
#include "r_main.h"
|
||||||
#include "r_fps.h"
|
#include "r_fps.h"
|
||||||
|
#include "d_clisrv.h" // UpdateChallenges
|
||||||
|
|
||||||
// Object place
|
// Object place
|
||||||
#include "m_cheat.h"
|
#include "m_cheat.h"
|
||||||
|
|
@ -966,6 +967,9 @@ void P_Ticker(boolean run)
|
||||||
ps_lua_thinkframe_time = I_GetPreciseTime() - ps_lua_thinkframe_time;
|
ps_lua_thinkframe_time = I_GetPreciseTime() - ps_lua_thinkframe_time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (run)
|
||||||
|
UpdateChallenges();
|
||||||
|
|
||||||
// Run shield positioning
|
// Run shield positioning
|
||||||
P_RunOverlays();
|
P_RunOverlays();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue