remove STRIPPED_COMPILE, other small small changes

This commit is contained in:
Ralty
2025-07-22 19:18:53 +07:00
parent 9f43f96ef7
commit 400a399cb6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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" />
+1 -1
View File
@@ -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;