From f5dde710e359643f0ec3104a047282dcae5e2764 Mon Sep 17 00:00:00 2001 From: Ralty <78720179+Raltyro@users.noreply.github.com> Date: Sat, 4 Oct 2025 11:54:39 +0700 Subject: [PATCH] I forgot --- source/funkin/menus/PauseSubState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/menus/PauseSubState.hx b/source/funkin/menus/PauseSubState.hx index fff4eb11..35d2ea6a 100644 --- a/source/funkin/menus/PauseSubState.hx +++ b/source/funkin/menus/PauseSubState.hx @@ -133,7 +133,7 @@ class PauseSubState extends MusicBeatSubstate { super.update(elapsed); - if (pauseMusic.volume < 0.5) + if (pauseMusic != null && pauseMusic.volume < 0.5) pauseMusic.volume += 0.01 * elapsed; pauseScript.call("update", [elapsed]);