Skip to content

Commit

Permalink
Merge pull request FunkinCrew#470 from FunkinCrew/bugfix/results-gf-c…
Browse files Browse the repository at this point in the history
…am-zoom

Readd GF camera zoom into results state.
  • Loading branch information
ninjamuffin99 authored Apr 5, 2024
2 parents a8b266f + 9543401 commit 90f53a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/funkin/play/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ class PlayState extends MusicBeatSubState
if (health < Constants.HEALTH_MIN) health = Constants.HEALTH_MIN;

// Apply camera zoom + multipliers.
if (subState == null)
if (subState == null && cameraZoomRate > 0.0 && !isInCutscene)
{
cameraBopMultiplier = FlxMath.lerp(1.0, cameraBopMultiplier, 0.95); // Lerp bop multiplier back to 1.0x
var zoomPlusBop = currentCameraZoom * cameraBopMultiplier; // Apply camera bop multiplier.
Expand Down

0 comments on commit 90f53a7

Please sign in to comment.