mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove a duplicate call to LUAh_MapChange (which should only fire once, in G_InitNew).
This commit is contained in:
parent
d302693946
commit
c5d842d05e
1 changed files with 0 additions and 4 deletions
|
|
@ -2792,7 +2792,6 @@ static void Got_Mapcmd(UINT8 **cp, INT32 playernum)
|
|||
INT32 resetplayer = 1, lastgametype;
|
||||
UINT8 skipprecutscene, FLS;
|
||||
boolean pencoremode;
|
||||
INT16 mapnumber;
|
||||
|
||||
forceresetplayers = deferencoremode = false;
|
||||
|
||||
|
|
@ -2850,9 +2849,6 @@ static void Got_Mapcmd(UINT8 **cp, INT32 playernum)
|
|||
memset(&luabanks, 0, sizeof(luabanks));
|
||||
}
|
||||
|
||||
mapnumber = M_MapNumber(mapname[3], mapname[4]);
|
||||
LUAh_MapChange(mapnumber);
|
||||
|
||||
demo.savemode = (cv_recordmultiplayerdemos.value == 2) ? DSM_WILLAUTOSAVE : DSM_NOTSAVING;
|
||||
demo.savebutton = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue