Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Commit 400a399

Browse files
committed
remove STRIPPED_COMPILE, other small small changes
1 parent 9f43f96 commit 400a399

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

project.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
</section>
114114

115115
<!-- Uncomment this to achive faster compile times, will strip extraneous and commonly unused features. -->
116-
<define name="STRIPPED_COMPILE" unless="debug"/>
116+
<!-- <define name="STRIPPED_COMPILE" unless="debug"/> -->
117117

118118
<!-- Comment this out to disable modcharting features -->
119119
<define name="MODCHARTING_FEATURES" unless="STRIPPED_COMPILE" />

source/funkin/backend/utils/CoolUtil.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ final class CoolUtil
443443
*/
444444
@:noUsing public static function playMusic(path:String, Persist:Bool = false, Volume:Float = 1, Looped:Bool = true, DefaultBPM:Float = 102, ?Group:FlxSoundGroup) {
445445
Conductor.reset();
446-
if (FlxG.sound.music == null) FlxG.sound.music = new FlxSound();
446+
if (FlxG.sound.music == null || !FlxG.sound.music.exists) FlxG.sound.music = new FlxSound();
447447
else if (FlxG.sound.music.active) FlxG.sound.music.stop();
448448
FlxG.sound.music.loadEmbedded(path, Looped);
449449
FlxG.sound.music.volume = Volume;

source/funkin/editors/ui/UIWarningSubstate.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class UIWarningSubstate extends MusicBeatSubstate {
9898
add(sprIcon);
9999

100100
messageSpr.x = sprIcon.x + 70 + 16 + 20;
101-
messageSpr.y = sprIcon.y + 16;
101+
messageSpr.y = sprIcon.y;
102102
add(messageSpr);
103103

104104
var xPos = (FlxG.width - (30 + (170 * buttons.length))) / 2;

0 commit comments

Comments
 (0)