1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-19 21:33:06 +00:00

Merge pull request #479 from FunkinCrew/bugfix/no-save-data

Fix bad initial save data when no save data present
This commit is contained in:
Cameron Taylor 2024-04-09 23:34:28 -04:00 committed by GitHub
commit 54496c400b

View file

@ -693,7 +693,7 @@ class Save
trace("[SAVE] Checking for legacy save data...");
var legacySave:FlxSave = new FlxSave();
legacySave.bind(SAVE_NAME_LEGACY, SAVE_PATH_LEGACY);
if (legacySave?.data == null)
if (legacySave.isEmpty())
{
trace("[SAVE] No legacy save data found.");
return null;