From b0d5ca6a54241c38b8f720232c3b8b314f86c8a5 Mon Sep 17 00:00:00 2001 From: CharlesCatYT Date: Mon, 21 Oct 2024 19:57:14 -0400 Subject: [PATCH] Update PlayState.hx --- source/funkin/play/PlayState.hx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/funkin/play/PlayState.hx b/source/funkin/play/PlayState.hx index 28b3fea4..a18d3fa5 100644 --- a/source/funkin/play/PlayState.hx +++ b/source/funkin/play/PlayState.hx @@ -2003,6 +2003,8 @@ class PlayState extends MusicBeatSubState { currentStage.addCharacter(girlfriend, GF); + if (girlfriend != null) girlfriend.cameras = [camGame]; + #if FEATURE_DEBUG_FUNCTIONS FlxG.console.registerObject('gf', girlfriend); #end @@ -2012,6 +2014,8 @@ class PlayState extends MusicBeatSubState { currentStage.addCharacter(boyfriend, BF); + if (boyfriend != null) boyfriend.cameras = [camGame]; + #if FEATURE_DEBUG_FUNCTIONS FlxG.console.registerObject('bf', boyfriend); #end @@ -2023,6 +2027,8 @@ class PlayState extends MusicBeatSubState // Camera starts at dad. cameraFollowPoint.setPosition(dad.cameraFocusPoint.x, dad.cameraFocusPoint.y); + if (dad != null) dad.cameras = [camGame]; + #if FEATURE_DEBUG_FUNCTIONS FlxG.console.registerObject('dad', dad); #end