mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-27 15:37:49 +00:00
Update Preferences.hx
This commit is contained in:
parent
51c304a6fa
commit
80fc0cd526
|
@ -15,7 +15,7 @@ class Preferences
|
||||||
|
|
||||||
static function get_framerate():Int
|
static function get_framerate():Int
|
||||||
{
|
{
|
||||||
#if web
|
#if (web || CHEEMS)
|
||||||
return 60;
|
return 60;
|
||||||
#else
|
#else
|
||||||
return Save?.instance?.options?.framerate ?? 60;
|
return Save?.instance?.options?.framerate ?? 60;
|
||||||
|
@ -24,7 +24,7 @@ class Preferences
|
||||||
|
|
||||||
static function set_framerate(value:Int):Int
|
static function set_framerate(value:Int):Int
|
||||||
{
|
{
|
||||||
#if web
|
#if (web || CHEEMS)
|
||||||
return 60;
|
return 60;
|
||||||
#else
|
#else
|
||||||
var save:Save = Save.instance;
|
var save:Save = Save.instance;
|
||||||
|
|
Loading…
Reference in a new issue