fucking gaming

This commit is contained in:
KadeDev 2021-04-28 12:14:15 -07:00
parent a34833df1a
commit 3c98ddc81a
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
package; package;
#if cpp #if windows
import llua.Lua; import llua.Lua;
#end #end
import Controls.Control; import Controls.Control;
@ -182,7 +182,7 @@ class PauseSubState extends MusicBeatSubstate
FlxG.resetState(); FlxG.resetState();
case "Exit to menu": case "Exit to menu":
PlayState.loadRep = false; PlayState.loadRep = false;
#if cpp #if windows
if (PlayState.lua != null) if (PlayState.lua != null)
{ {
Lua.close(PlayState.lua); Lua.close(PlayState.lua);

View File

@ -435,7 +435,7 @@ class PlayState extends MusicBeatState
repPresses = 0; repPresses = 0;
repReleases = 0; repReleases = 0;
#if sys #if windows
executeModchart = FileSystem.exists(Paths.lua(PlayState.SONG.song.toLowerCase() + "/modchart")); executeModchart = FileSystem.exists(Paths.lua(PlayState.SONG.song.toLowerCase() + "/modchart"));
#end #end
#if !cpp #if !cpp