some changes, + modcharts work

This commit is contained in:
Kade M
2021-05-08 18:26:38 -07:00
parent 1f49941f54
commit 00d15a3cfb
5 changed files with 18 additions and 9 deletions

View File

@ -1,5 +1,6 @@
package;
import openfl.Lib;
#if windows
import llua.Lua;
#end
@ -189,6 +190,8 @@ class PauseSubState extends MusicBeatSubstate
PlayState.luaModchart = null;
}
#end
if (FlxG.save.data.fpsCap > 290)
(cast (Lib.current.getChildAt(0), Main)).setFPSCap(290);
FlxG.switchState(new MainMenuState());
}
}