remove TitleState.soundExt

This commit is contained in:
George FunBook 2021-02-11 13:14:16 -06:00
parent aa1e0648c9
commit 187069783a
3 changed files with 0 additions and 18 deletions

View File

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

View File

@ -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();

View File

@ -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());