mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-03-21 20:39:52 -04:00
Fix a story menu crash
This commit is contained in:
parent
de6972cb90
commit
214c706cac
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ class StoryMenuState extends MusicBeatState
|
|||
// super.dispatchEvent(event) dispatches event to module scripts.
|
||||
super.dispatchEvent(event);
|
||||
|
||||
if ((levelProps?.length ?? 0) > 0)
|
||||
if (levelProps != null && levelProps.length > 0)
|
||||
{
|
||||
// Dispatch event to props.
|
||||
for (prop in levelProps)
|
||||
|
|
Loading…
Reference in a new issue