diff --git a/source/funkin/Preferences.hx b/source/funkin/Preferences.hx index d8066c581..c4bda2b9a 100644 --- a/source/funkin/Preferences.hx +++ b/source/funkin/Preferences.hx @@ -53,7 +53,7 @@ class Preferences static function get_flashingLights():Bool { - return Save.instance.options.flashingLights; + return Save?.instance?.options?.flashingLights ?? true; } static function set_flashingLights(value:Bool):Bool