From f8481a0efec637cdc6f9c44d526cedfdbb696297 Mon Sep 17 00:00:00 2001 From: fabs <60322424+FabsTheFabs@users.noreply.github.com> Date: Sat, 2 Mar 2024 18:56:44 +0000 Subject: [PATCH] fixed pico game over loop from playing a duplicate track (#356) * fixed pico game over loop from playing a duplicate track that persists in menus * assets submod --------- Co-authored-by: Cameron Taylor --- assets | 2 +- source/funkin/play/GameOverSubState.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets b/assets index 54f915ea2..b152ad838 160000 --- a/assets +++ b/assets @@ -1 +1 @@ -Subproject commit 54f915ea2698a300f06712a5880990f932e6d632 +Subproject commit b152ad83868ff77307abb24893ddd5f74ed324d7 diff --git a/source/funkin/play/GameOverSubState.hx b/source/funkin/play/GameOverSubState.hx index b7e92d10f..857cda524 100644 --- a/source/funkin/play/GameOverSubState.hx +++ b/source/funkin/play/GameOverSubState.hx @@ -338,8 +338,8 @@ class GameOverSubState extends MusicBeatSubState } else { - isStarting = false; onComplete = function() { + isStarting = false; // We need to force to ensure that the non-starting music plays. startDeathMusic(1.0, true); };