Skip to content

Commit 6d45ee5

Browse files
Might as well remove this since you can just turn it back on with hscript:/
1 parent 59aedf7 commit 6d45ee5

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

source/modding/ModchartUtilities.hx

+4-11
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,7 @@ class ModchartUtilities {
227227
// FlxG.switchState(new MainMenuState());
228228
}
229229

230-
// this might become a problem if i don't do this
231-
setVar("require", false);
232-
setVar("os", false);
233-
234230
// get some fukin globals up in here bois
235-
236231
setVar("songLower", PlayState.SONG.song.toLowerCase());
237232
setVar("difficulty", PlayState.storyDifficultyStr);
238233
setVar("bpm", Conductor.bpm);
@@ -254,8 +249,7 @@ class ModchartUtilities {
254249
setVar("shaders", Options.getData("shaders"));
255250

256251
setVar("animatedBackgrounds", Options.getData("animatedBGs"));
257-
258-
setVar("charsAndBGs", Options.getData("charsAndBGs"));
252+
setVar("charsAndBGs", Options.getData("charsAndBGs"));
259253

260254
setVar("curStep", 0);
261255
setVar("curBeat", 0);
@@ -268,7 +262,6 @@ class ModchartUtilities {
268262
setVar("cameraZoom", FlxG.camera.zoom);
269263

270264
setVar("cameraAngle", FlxG.camera.angle);
271-
272265
setVar("camHudAngle", PlayState.instance.camHUD.angle);
273266

274267
setVar("followXOffset", 0);
@@ -293,15 +286,15 @@ class ModchartUtilities {
293286
setVar("inReplay", PlayState.playingReplay);
294287

295288
setVar("player1", PlayState.SONG.player1);
296-
setVar("player2", PlayState.SONG.player2);
289+
setVar("player2", PlayState.SONG.player2);
297290

298-
setVar("curStage", PlayState.SONG.stage);
291+
setVar("curStage", PlayState.SONG.stage);
299292

300293
#if mobile
301294
setVar("mobile", true);
302295
#else
303296
setVar("mobile", false);
304-
#end
297+
#end
305298

306299
// other globals
307300

0 commit comments

Comments
 (0)