remove TitleState.soundExt

This commit is contained in:
George FunBook 2021-02-11 13:14:16 -06:00
parent 246c87240e
commit 8dd68b6360
3 changed files with 0 additions and 18 deletions

View file

@ -26,10 +26,6 @@ class MusicBeatState extends FlxUIState
if (transIn != null) if (transIn != null)
trace('reg ' + transIn.region); trace('reg ' + transIn.region);
#if (!web)
TitleState.soundExt = '.ogg';
#end
super.create(); super.create();
} }

View file

@ -23,15 +23,6 @@ class MusicBeatSubstate extends FlxSubState
inline function get_controls():Controls inline function get_controls():Controls
return PlayerSettings.player1.controls; return PlayerSettings.player1.controls;
override function create()
{
#if (!web)
TitleState.soundExt = '.ogg';
#end
super.create();
}
override function update(elapsed:Float) override function update(elapsed:Float)
{ {
everyStep(); everyStep();

View file

@ -29,7 +29,6 @@ using StringTools;
class TitleState extends MusicBeatState class TitleState extends MusicBeatState
{ {
static var initialized:Bool = false; static var initialized:Bool = false;
static public var soundExt:String = ".mp3";
var blackScreen:FlxSprite; var blackScreen:FlxSprite;
var credGroup:FlxGroup; var credGroup:FlxGroup;
@ -47,10 +46,6 @@ class TitleState extends MusicBeatState
polymod.Polymod.init({modRoot: "mods", dirs: ['introMod']}); polymod.Polymod.init({modRoot: "mods", dirs: ['introMod']});
#end #end
#if (!web)
TitleState.soundExt = '.ogg';
#end
PlayerSettings.init(); PlayerSettings.init();
curWacky = FlxG.random.getObject(getIntroTextShit()); curWacky = FlxG.random.getObject(getIntroTextShit());