mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-24 22:26:50 +00:00
Switch songs with no difficulties from an error to a warning.
This commit is contained in:
parent
50b587e3b8
commit
558ec53532
|
@ -277,7 +277,7 @@ class Song implements IPlayStateScriptedClass implements IRegistryEntry<SongMeta
|
||||||
// If there are no difficulties in the metadata, there's a problem.
|
// If there are no difficulties in the metadata, there's a problem.
|
||||||
if (metadata.playData.difficulties.length == 0)
|
if (metadata.playData.difficulties.length == 0)
|
||||||
{
|
{
|
||||||
throw 'Song $id has no difficulties listed in metadata!';
|
trace('[WARN] Song $id has no difficulties listed in metadata!');
|
||||||
}
|
}
|
||||||
|
|
||||||
// There may be more difficulties in the chart file than in the metadata,
|
// There may be more difficulties in the chart file than in the metadata,
|
||||||
|
|
Loading…
Reference in a new issue