remove STRIPPED_COMPILE, other small small changes
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@
|
||||
</section>
|
||||
|
||||
<!-- Uncomment this to achive faster compile times, will strip extraneous and commonly unused features. -->
|
||||
<define name="STRIPPED_COMPILE" unless="debug"/>
|
||||
<!-- <define name="STRIPPED_COMPILE" unless="debug"/> -->
|
||||
|
||||
<!-- Comment this out to disable modcharting features -->
|
||||
<define name="MODCHARTING_FEATURES" unless="STRIPPED_COMPILE" />
|
||||
|
||||
@@ -443,7 +443,7 @@ final class CoolUtil
|
||||
*/
|
||||
@:noUsing public static function playMusic(path:String, Persist:Bool = false, Volume:Float = 1, Looped:Bool = true, DefaultBPM:Float = 102, ?Group:FlxSoundGroup) {
|
||||
Conductor.reset();
|
||||
if (FlxG.sound.music == null) FlxG.sound.music = new FlxSound();
|
||||
if (FlxG.sound.music == null || !FlxG.sound.music.exists) FlxG.sound.music = new FlxSound();
|
||||
else if (FlxG.sound.music.active) FlxG.sound.music.stop();
|
||||
FlxG.sound.music.loadEmbedded(path, Looped);
|
||||
FlxG.sound.music.volume = Volume;
|
||||
|
||||
@@ -98,7 +98,7 @@ class UIWarningSubstate extends MusicBeatSubstate {
|
||||
add(sprIcon);
|
||||
|
||||
messageSpr.x = sprIcon.x + 70 + 16 + 20;
|
||||
messageSpr.y = sprIcon.y + 16;
|
||||
messageSpr.y = sprIcon.y;
|
||||
add(messageSpr);
|
||||
|
||||
var xPos = (FlxG.width - (30 + (170 * buttons.length))) / 2;
|
||||
|
||||
Reference in New Issue
Block a user