mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-09-11 20:57:20 +00:00
Merge pull request #425 from FunkinCrew/feature/more-new-charts
Update several charts (Lit Up, 2hot, High Erect, South Erect)
This commit is contained in:
commit
31827f30b1
2
assets
2
assets
|
@ -1 +1 @@
|
|||
Subproject commit fda21459bdbf6198c1c39d60e347782d7286eda6
|
||||
Subproject commit 8013845e331015b40c4cc35230f6d02bd2148d52
|
|
@ -431,7 +431,11 @@ class SongRegistry extends BaseRegistry<Song, SongMetadata>
|
|||
{
|
||||
variation = variation == null ? Constants.DEFAULT_VARIATION : variation;
|
||||
var entryFilePath:String = Paths.json('$dataFilePath/$id/$id-metadata${variation == Constants.DEFAULT_VARIATION ? '' : '-$variation'}');
|
||||
if (!openfl.Assets.exists(entryFilePath)) return null;
|
||||
if (!openfl.Assets.exists(entryFilePath))
|
||||
{
|
||||
trace(' [WARN] Could not locate file $entryFilePath');
|
||||
return null;
|
||||
}
|
||||
var rawJson:Null<String> = openfl.Assets.getText(entryFilePath);
|
||||
if (rawJson == null) return null;
|
||||
rawJson = rawJson.trim();
|
||||
|
|
Loading…
Reference in a new issue