bugfix for loading deleted mods + safe saves
This commit is contained in:
@@ -101,9 +101,7 @@ class MainMenuState extends MusicBeatState
|
||||
if (FlxG.keys.justPressed.SEVEN)
|
||||
FlxG.switchState(new funkin.desktop.DesktopMain());
|
||||
if (FlxG.keys.justPressed.EIGHT) {
|
||||
#if sys
|
||||
sys.io.File.saveContent("chart.json", Json.stringify(funkin.backend.chart.Chart.parse("dadbattle", "hard")));
|
||||
#end
|
||||
CoolUtil.safeSaveFile("chart.json", Json.stringify(funkin.backend.chart.Chart.parse("dadbattle", "hard")));
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user