mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-24 14:31:02 +00:00
Call K_TimerReset before spawning map things
Fixes DUEL items spawning twice if DUEL mode remains on between maps. Fixes DUEL items spawning the next map after DUEL mode deactivates.
This commit is contained in:
parent
ba994c261a
commit
d83f91d169
1 changed files with 2 additions and 2 deletions
|
|
@ -7587,6 +7587,8 @@ boolean P_LoadLevel(boolean fromnetsave, boolean reloadinggamestate)
|
|||
sector_t *ss;
|
||||
virtlump_t *encoreLump = NULL;
|
||||
|
||||
K_TimerReset();
|
||||
|
||||
levelloading = true;
|
||||
|
||||
// This is needed. Don't touch.
|
||||
|
|
@ -8008,8 +8010,6 @@ boolean P_LoadLevel(boolean fromnetsave, boolean reloadinggamestate)
|
|||
P_MapEnd(); // just in case MapLoad modifies tm.thing
|
||||
}
|
||||
|
||||
K_TimerReset();
|
||||
|
||||
// No render mode or reloading gamestate, stop here.
|
||||
if (rendermode == render_none || reloadinggamestate)
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue