mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-03 18:59:03 +00:00
Merge pull request #470 from FunkinCrew/bugfix/results-gf-cam-zoom
Readd GF camera zoom into results state.
This commit is contained in:
commit
90f53a78c1
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue