From 3c98ddc81ab2aa6e92cab5d52aaa49c5e3b63a1f Mon Sep 17 00:00:00 2001 From: KadeDev Date: Wed, 28 Apr 2021 12:14:15 -0700 Subject: [PATCH] fucking gaming --- source/PauseSubState.hx | 4 ++-- source/PlayState.hx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/PauseSubState.hx b/source/PauseSubState.hx index 5e73f4b..ba3ea0e 100644 --- a/source/PauseSubState.hx +++ b/source/PauseSubState.hx @@ -1,6 +1,6 @@ package; -#if cpp +#if windows import llua.Lua; #end import Controls.Control; @@ -182,7 +182,7 @@ class PauseSubState extends MusicBeatSubstate FlxG.resetState(); case "Exit to menu": PlayState.loadRep = false; - #if cpp + #if windows if (PlayState.lua != null) { Lua.close(PlayState.lua); diff --git a/source/PlayState.hx b/source/PlayState.hx index 473d177..94b1f49 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -435,7 +435,7 @@ class PlayState extends MusicBeatState repPresses = 0; repReleases = 0; - #if sys + #if windows executeModchart = FileSystem.exists(Paths.lua(PlayState.SONG.song.toLowerCase() + "/modchart")); #end #if !cpp