1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-04 20:53:57 +00:00

Fix crash when initializing screenshots when there is no save data

This commit is contained in:
EliteMasterEric 2024-04-29 19:28:47 -04:00
parent 3b1f84b4bd
commit dbae4aff8f

View file

@ -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