mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 01:55:52 -05:00
small fix to backups folder not existing
This commit is contained in:
parent
efd85e0e14
commit
4fc56a2280
2 changed files with 3 additions and 1 deletions
2
assets
2
assets
|
@ -1 +1 @@
|
|||
Subproject commit dfaf23dfa11ff67be2eea9113a80ff5dc0040f76
|
||||
Subproject commit c354795f7f560fa096b855c6e6bca745f77fa414
|
|
@ -315,6 +315,8 @@ class ChartEditorImportExportHandler
|
|||
public static function getLatestBackupPath():Null<String>
|
||||
{
|
||||
#if sys
|
||||
if (!sys.FileSystem.exists(BACKUPS_PATH)) sys.FileSystem.createDirectory(BACKUPS_PATH);
|
||||
|
||||
var entries:Array<String> = sys.FileSystem.readDirectory(BACKUPS_PATH);
|
||||
entries.sort(SortUtil.alphabetically);
|
||||
|
||||
|
|
Loading…
Reference in a new issue