modcharts

This commit is contained in:
KadeDev
2021-04-15 11:09:46 -07:00
parent e92d286405
commit fec5fa33c2
10 changed files with 959 additions and 31 deletions

View File

@ -1,5 +1,6 @@
package;
import llua.Lua;
import Controls.Control;
import flixel.FlxG;
import flixel.FlxSprite;
@ -179,6 +180,11 @@ class PauseSubState extends MusicBeatSubstate
FlxG.resetState();
case "Exit to menu":
PlayState.loadRep = false;
if (PlayState.lua != null)
{
Lua.close(PlayState.lua);
PlayState.lua = null;
}
if (PlayState.offsetTesting)
{
PlayState.offsetTesting = false;