From 0c06bf73b3dda26586285689c09d7b9757eaee39 Mon Sep 17 00:00:00 2001 From: EstoyAburridowGH <81833766+EstoyAburridowGH@users.noreply.github.com> Date: Mon, 25 Mar 2024 20:16:26 -0500 Subject: [PATCH] Prevents camera movement, shaking, and flash update (#257) --- source/funkin/backend/utils/FunkinParentDisabler.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/funkin/backend/utils/FunkinParentDisabler.hx b/source/funkin/backend/utils/FunkinParentDisabler.hx index f90717597..37d962779 100644 --- a/source/funkin/backend/utils/FunkinParentDisabler.hx +++ b/source/funkin/backend/utils/FunkinParentDisabler.hx @@ -32,8 +32,8 @@ class FunkinParentDisabler extends FlxBasic { FlxTimer.globalManager._timers = []; // cameras - __cameras = [for(c in FlxG.cameras.list) if (c.followEnabled) c]; - for(c in __cameras) c.followEnabled = false; + __cameras = [for(c in FlxG.cameras.list) if (c.active) c]; + for(c in __cameras) c.active = false; // sounds __sounds = [for(s in FlxG.sound.list) if (s.playing) s]; @@ -61,7 +61,7 @@ class FunkinParentDisabler extends FlxBasic { for(t in __tweens) FlxTween.globalManager._tweens.push(t); for(t in __timers) FlxTimer.globalManager._timers.push(t); } - for(c in __cameras) c.followEnabled = true; + for(c in __cameras) c.active = true; for(s in __sounds) s.play(); } }