From e593605f60285d6c699b76b2bcea009d01ab1ee9 Mon Sep 17 00:00:00 2001 From: Wizard <77557487+WizardMantis441@users.noreply.github.com> Date: Sat, 22 Apr 2023 04:01:00 -0500 Subject: [PATCH] forgot this lol thanks neo --- source/funkin/game/PlayState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index 6a2ba67c..405680ed 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -1605,7 +1605,7 @@ class PlayState extends MusicBeatState { super.beatHit(curBeat); - if (camZoomingInterval < 1) camZoomingInterval = 1; + if (camZoomingInterval != null && camZoomingInterval < 1) camZoomingInterval = 1; if (Options.camZoomOnBeat && camZooming && FlxG.camera.zoom < maxCamZoom && camZoomingInterval != null && curBeat % camZoomingInterval == 0) { FlxG.camera.zoom += 0.015 * camZoomingStrength;