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:
parent
8ac59d80ec
commit
f5cbfbf631
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue