mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Workaround g_teamplay assigning teams erroneously in demos
Fixes https://gitlab.com/kart-krew-dev/ring-racers/-/issues/210
This commit is contained in:
parent
b746b1a0e4
commit
f2ab528062
1 changed files with 2 additions and 0 deletions
|
|
@ -3269,6 +3269,8 @@ void G_DoPlayDemoEx(const char *defdemoname, lumpnum_t deflumpnum)
|
|||
|
||||
// net var data
|
||||
demobuf.p += CV_LoadDemoVars(demobuf.p);
|
||||
// Dumb hack for team play desyncs - https://gitlab.com/kart-krew-dev/ring-racers/-/issues/210
|
||||
g_teamplay = cv_teamplay.value ? 1 : 0;
|
||||
|
||||
memset(&grandprixinfo, 0, sizeof grandprixinfo);
|
||||
if ((demoflags & DF_GRANDPRIX))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue