mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-04-21 19:31:52 -04:00
Fix crash when initializing screenshots when there is no save data
This commit is contained in:
parent
3b1f84b4bd
commit
dbae4aff8f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue