mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-04 22:04:29 +00:00
Fix bug where pressing ENTER in UI would cause song to try to preview. Fix bug where trying to preview a newly created song would crash.
This commit is contained in:
parent
5b4a00e893
commit
11b1ca5100
|
@ -117,7 +117,7 @@ class Song implements IPlayStateScriptedClass implements IRegistryEntry<SongMeta
|
|||
public static function buildRaw(songId:String, metadata:Array<SongMetadata>, variations:Array<String>, charts:Map<String, SongChartData>,
|
||||
validScore:Bool = false):Song
|
||||
{
|
||||
var result:Song = new Song(songId);
|
||||
var result:Song = new Song(songId, true);
|
||||
|
||||
result._metadata.clear();
|
||||
for (meta in metadata)
|
||||
|
|
Loading…
Reference in a new issue