From 524ee455fca94b2e69b41972176d4b6cbf271f6a Mon Sep 17 00:00:00 2001 From: Kade M Date: Sat, 13 Mar 2021 17:54:51 -0800 Subject: [PATCH] I hate contributers. --- source/OptionsMenu.hx | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/source/OptionsMenu.hx b/source/OptionsMenu.hx index cce0880..c3e53e0 100644 --- a/source/OptionsMenu.hx +++ b/source/OptionsMenu.hx @@ -24,20 +24,8 @@ class OptionsMenu extends MusicBeatState var versionShit:FlxText; override function create() { - if (FlxG.save.data.newInput == null) - FlxG.save.data.newInput = true; - - if (FlxG.save.data.downscroll == null) - FlxG.save.data.downscroll = false; - - if (FlxG.save.data.dfjk == null) - FlxG.save.data.dfjk = false; - - if (FlxG.save.data.accuracyDisplay == null) - FlxG.save.data.accuracyDisplay = true; - var menuBG:FlxSprite = new FlxSprite().loadGraphic(Paths.image('menuDesat')); - controlsStrings = CoolUtil.coolStringFile((FlxG.save.data.dfjk ? 'DFJK' : 'WASD') + "\n" + (FlxG.save.data.newInput ? "New input" : "Old Input") + "\n" + (FlxG.save.data.downscroll ? 'Downscroll' : 'Upscroll') + "\nToggle accuracy display " + (FlxG.save.data.accuracyDisplay ? "off" : "on") + "\nLoad replays"); + controlsStrings = CoolUtil.coolStringFile((FlxG.save.data.dfjk ? 'DFJK' : 'WASD') + "\n" + (FlxG.save.data.newInput ? "New input" : "Old Input") + "\n" + (FlxG.save.data.downscroll ? 'Downscroll' : 'Upscroll') + "\nAccuracy " + (FlxG.save.data.accuracyDisplay ? "off" : "on") + "\nLoad replays"); trace(controlsStrings); @@ -124,7 +112,7 @@ class OptionsMenu extends MusicBeatState grpControls.add(ctrl); case 3: FlxG.save.data.accuracyDisplay = !FlxG.save.data.accuracyDisplay; - var ctrl:Alphabet = new Alphabet(0, (70 * curSelected) + 30, "Toggle accuracy display " + (FlxG.save.data.accuracyDisplay ? "off" : "on"), true, false); + var ctrl:Alphabet = new Alphabet(0, (70 * curSelected) + 30, "Accuracy " + (FlxG.save.data.accuracyDisplay ? "off" : "on"), true, false); ctrl.isMenuItem = true; ctrl.targetY = curSelected - 3; grpControls.add(ctrl);