1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-24 14:16:56 +00:00

Switch songs with no difficulties from an error to a warning.

This commit is contained in:
EliteMasterEric 2024-07-18 23:27:12 -04:00
parent 50b587e3b8
commit 558ec53532

View file

@ -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,