Consistent quotation marks in Options and OptionsMenu

This commit is contained in:
Saalvage 2021-03-29 01:23:51 +02:00
parent b06e23529e
commit 5bd765e279
2 changed files with 6 additions and 6 deletions

View File

@ -48,7 +48,7 @@ class DFJKOption extends Option
private override function updateDisplay():String private override function updateDisplay():String
{ {
return FlxG.save.data.dfjk ? 'DFJK' : 'WASD'; return FlxG.save.data.dfjk ? "DFJK" : "WASD";
} }
} }
@ -78,7 +78,7 @@ class DownscrollOption extends Option
private override function updateDisplay():String private override function updateDisplay():String
{ {
return FlxG.save.data.downscroll ? 'Downscroll' : 'Upscroll'; return FlxG.save.data.downscroll ? "Downscroll" : "Upscroll";
} }
} }
@ -147,7 +147,7 @@ class ReplayOption extends Option
{ {
public override function press():Bool public override function press():Bool
{ {
trace('switch'); trace("switch");
FlxG.switchState(new LoadReplayState()); FlxG.switchState(new LoadReplayState());
return false; return false;
} }

View File

@ -35,7 +35,7 @@ class OptionsMenu extends MusicBeatState
var versionShit:FlxText; var versionShit:FlxText;
override function create() override function create()
{ {
var menuBG:FlxSprite = new FlxSprite().loadGraphic(Paths.image('menuDesat')); var menuBG:FlxSprite = new FlxSprite().loadGraphic(Paths.image("menuDesat"));
menuBG.color = 0xFFea71fd; menuBG.color = 0xFFea71fd;
menuBG.setGraphicSize(Std.int(menuBG.width * 1.1)); menuBG.setGraphicSize(Std.int(menuBG.width * 1.1));
@ -106,10 +106,10 @@ class OptionsMenu extends MusicBeatState
function changeSelection(change:Int = 0) function changeSelection(change:Int = 0)
{ {
#if !switch #if !switch
// NGio.logEvent('Fresh'); // NGio.logEvent("Fresh");
#end #end
FlxG.sound.play(Paths.sound('scrollMenu'), 0.4); FlxG.sound.play(Paths.sound("scrollMenu"), 0.4);
curSelected += change; curSelected += change;