mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-06-17 15:03:34 +00:00
Fix a story menu crash
This commit is contained in:
parent
de6972cb90
commit
214c706cac
|
@ -470,7 +470,7 @@ class StoryMenuState extends MusicBeatState
|
||||||
// super.dispatchEvent(event) dispatches event to module scripts.
|
// super.dispatchEvent(event) dispatches event to module scripts.
|
||||||
super.dispatchEvent(event);
|
super.dispatchEvent(event);
|
||||||
|
|
||||||
if ((levelProps?.length ?? 0) > 0)
|
if (levelProps != null && levelProps.length > 0)
|
||||||
{
|
{
|
||||||
// Dispatch event to props.
|
// Dispatch event to props.
|
||||||
for (prop in levelProps)
|
for (prop in levelProps)
|
||||||
|
|
Loading…
Reference in a new issue