mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-08-20 07:25:59 +00:00
small fix to backups folder not existing
This commit is contained in:
parent
efd85e0e14
commit
4fc56a2280
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