1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-02 19:53:15 +00:00

more save fixes

This commit is contained in:
Cameron Taylor 2024-04-30 20:03:24 -04:00
parent 8ac59d80ec
commit f5cbfbf631
2 changed files with 3 additions and 3 deletions

View file

@ -253,7 +253,7 @@ class Conductor
function get_inputOffset():Int
{
return Save.instance.options.inputOffset;
return Save?.instance?.options?.inputOffset ?? 0;
}
function set_inputOffset(value:Int):Int
@ -265,7 +265,7 @@ class Conductor
function get_audioVisualOffset():Int
{
return Save.instance.options.audioVisualOffset;
return Save?.instance?.options?.audioVisualOffset ?? 0;
}
function set_audioVisualOffset(value:Int):Int

View file

@ -72,7 +72,7 @@ class Preferences
static function get_zoomCamera():Bool
{
return Save.instance.options.zoomCamera;
return Save?.instance?.options?.zoomCamera;
}
static function set_zoomCamera(value:Bool):Bool