From 498134530c299905357115f3d3ac68f1dccd1e3c Mon Sep 17 00:00:00 2001 From: JordanSantiagoYT Date: Fri, 27 Dec 2024 20:21:52 -0500 Subject: [PATCH] bruh --- source/PlayState.hx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index 41c94ba4d87..4cc9fd8503a 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -2151,7 +2151,7 @@ class PlayState extends MusicBeatState var fps:Float = 60; var bfCanPan:Bool = false; var dadCanPan:Bool = false; - var clear:Bool = false; + var doPan:Bool = false; function camPanRoutine(anim:String = 'singUP', who:String = 'bf'):Void { if (SONG.notes[curSection] != null) { @@ -2159,11 +2159,11 @@ class PlayState extends MusicBeatState bfCanPan = SONG.notes[curSection].mustHitSection; dadCanPan = !SONG.notes[curSection].mustHitSection; switch (who) { - case 'bf' | 'boyfriend': clear = bfCanPan; - case 'oppt' | 'dad': clear = dadCanPan; + case 'bf' | 'boyfriend': doPan = bfCanPan; + case 'oppt' | 'dad': doPan = dadCanPan; } //FlxG.elapsed is stinky poo poo for this, it just makes it look jank as fuck - if (clear) { + if (doPan) { if (fps == 0) fps = 1; switch (anim.split('-')[0]) {