Merge branch 'dont-load-dont-unload' into 'next'

Fix a dedicated crash in Special Stage intermissions (2.2.9 RC1)

See merge request STJr/SRB2!1475
This commit is contained in:
LJ Sonic 2021-04-25 16:35:46 -04:00
commit d18fc8882f

View file

@ -2069,7 +2069,8 @@ static void Y_AwardSpecialStageBonus(void)
// //
void Y_EndIntermission(void) void Y_EndIntermission(void)
{ {
Y_UnloadData(); if (!dedicated)
Y_UnloadData();
endtic = -1; endtic = -1;
intertype = int_none; intertype = int_none;