diff --git a/source/MusicBeatState.hx b/source/MusicBeatState.hx index bda503128..55bd24e9f 100644 --- a/source/MusicBeatState.hx +++ b/source/MusicBeatState.hx @@ -26,10 +26,6 @@ class MusicBeatState extends FlxUIState if (transIn != null) trace('reg ' + transIn.region); - #if (!web) - TitleState.soundExt = '.ogg'; - #end - super.create(); } diff --git a/source/MusicBeatSubstate.hx b/source/MusicBeatSubstate.hx index 511f597a7..3db4f9e98 100644 --- a/source/MusicBeatSubstate.hx +++ b/source/MusicBeatSubstate.hx @@ -23,15 +23,6 @@ class MusicBeatSubstate extends FlxSubState inline function get_controls():Controls return PlayerSettings.player1.controls; - override function create() - { - #if (!web) - TitleState.soundExt = '.ogg'; - #end - - super.create(); - } - override function update(elapsed:Float) { everyStep(); diff --git a/source/TitleState.hx b/source/TitleState.hx index afd7bd5bb..0a1f1d47d 100644 --- a/source/TitleState.hx +++ b/source/TitleState.hx @@ -29,7 +29,6 @@ using StringTools; class TitleState extends MusicBeatState { static var initialized:Bool = false; - static public var soundExt:String = ".mp3"; var blackScreen:FlxSprite; var credGroup:FlxGroup; @@ -47,10 +46,6 @@ class TitleState extends MusicBeatState polymod.Polymod.init({modRoot: "mods", dirs: ['introMod']}); #end - #if (!web) - TitleState.soundExt = '.ogg'; - #end - PlayerSettings.init(); curWacky = FlxG.random.getObject(getIntroTextShit());