mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-09-11 20:57:20 +00:00
Fix bug where story mode breaks after first playthrough
This commit is contained in:
parent
a2ddeec5bb
commit
6412cb3aee
|
@ -43,7 +43,8 @@ class Level implements IRegistryEntry<LevelData>
|
|||
*/
|
||||
public function getSongs():Array<String>
|
||||
{
|
||||
return _data.songs;
|
||||
// Copy the array so that it can't be modified on accident
|
||||
return _data.songs.copy();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue