Skip to content

Commit 3f90d0f

Browse files
committed
a
1 parent 66a6430 commit 3f90d0f

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

source/archipelago/CountdownPopup.hx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -68,21 +68,21 @@ class CountdownPopup extends openfl.display.Sprite {
6868
countdown = newCountdown;
6969
}
7070

71-
// Clear and redraw graphics
72-
graphics.clear();
73-
graphics.beginFill(FlxColor.BLACK);
74-
graphics.drawRoundRect(0, 0, 420, 130, 16, 16);
75-
drawTextAt(textDisplay, name, 15, 20);
76-
drawTextAt(textDisplay, desc, 15, 50);
77-
drawTextAt(textDisplay, 'Countdown: ' + countdown, 15, 80);
78-
graphics.endFill();
79-
80-
// Play countdown sound
81-
if (countdown > 0) {
82-
FlxG.sound.play(Paths.sound('countdown/tick'));
83-
} else if (countdown == 0) {
84-
FlxG.sound.play(Paths.sound('countdown/end'));
85-
}
71+
// Clear and redraw graphics
72+
graphics.clear();
73+
graphics.beginFill(FlxColor.BLACK);
74+
graphics.drawRoundRect(0, 0, 420, 130, 16, 16);
75+
drawTextAt(textDisplay, name, 15, 20);
76+
drawTextAt(textDisplay, desc, 15, 50);
77+
drawTextAt(textDisplay, 'Countdown: ' + countdown, 15, 80);
78+
graphics.endFill();
79+
80+
// Play countdown sound
81+
if (countdown > 0) {
82+
FlxG.sound.play(Paths.sound('countdown/tick'));
83+
} else if (countdown == 0) {
84+
FlxG.sound.play(Paths.sound('countdown/end'));
85+
}
8686
}
8787
private function drawTextAt(text:FlxText, str:String, textX:Float, textY:Float) {
8888
try {

source/states/PlayState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2828,7 +2828,7 @@ class PlayState extends MusicBeatState
28282828

28292829
var spot = 0;
28302830
var curStepCrochet:Float = 60 / daBpm * 1000 / 4.0;
2831-
final roundSus:Int = Math.round(swagNote.sustainLength / curStepCrochet) -1;
2831+
final roundSus:Int = Math.round(swagNote.sustainLength / Conductor.stepCrochet) -1;
28322832
if (roundSus > 0)
28332833
{
28342834
for (susNote in 0...roundSus)

0 commit comments

Comments
 (0)