Skip to content

Commit

Permalink
Update PlayState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesisfeline committed Oct 21, 2024
1 parent d9692d3 commit b0d5ca6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/funkin/play/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b0d5ca6

Please sign in to comment.