Skip to content

Commit

Permalink
Fix SoundQueue
Browse files Browse the repository at this point in the history
  • Loading branch information
FirstMegaGame4 committed Jan 2, 2025
1 parent 17bdb1d commit 389a5fe
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public void tick() {
if (this.delayBeforeStarting == 0) {
if (!this.queue.isEmpty()) {
this.soundManager.play(this.queue.element());
this.delayBeforeStarting = -1; // The start has been executed, now delaying to update method
}
else {
this.delayBeforeStarting = 10;
Expand Down

0 comments on commit 389a5fe

Please sign in to comment.