1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-09-17 15:38:52 +00:00

Fix bug where story mode breaks after first playthrough

This commit is contained in:
EliteMasterEric 2023-05-30 16:21:12 -04:00
parent a2ddeec5bb
commit 6412cb3aee

View file

@ -43,7 +43,8 @@ class Level implements IRegistryEntry<LevelData>
*/ */
public function getSongs():Array<String> public function getSongs():Array<String>
{ {
return _data.songs; // Copy the array so that it can't be modified on accident
return _data.songs.copy();
} }
/** /**