Merge branch 'gamedata-check' into 'next'

Fix G_SaveGameData crash if quit early

See merge request STJr/SRB2!2313
This commit is contained in:
Sal 2024-02-14 10:40:50 +00:00
commit f09dd25bbb

View file

@ -4621,6 +4621,9 @@ void G_SaveGameData(gamedata_t *data)
INT32 curmare;
if (!data)
return; // data struct not valid
if (!data->loaded)
return; // If never loaded (-nodata), don't save