Skip to content

Commit bbc0546

Browse files
thesuperpig56AbnormalPoof
authored andcommitted
Shortened statement based on suggestion.
Co-authored-by: Abnormal <86753001+AbnormalPoof@users.noreply.github.com>
1 parent 617d5ff commit bbc0546

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/funkin/play/PlayState.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -898,8 +898,8 @@ class PlayState extends MusicBeatSubState
898898
});
899899

900900
// Reset the health icons.
901-
if (currentStage != null && currentStage.getBoyfriend() != null) currentStage.getBoyfriend().initHealthIcon(false);
902-
if (currentStage != null && currentStage.getDad() != null) currentStage.getDad().initHealthIcon(true);
901+
currentStage?.getBoyfriend()?.initHealthIcon(false);
902+
currentStage?.getDad()?.initHealthIcon(true);
903903

904904
needsReset = false;
905905
}

0 commit comments

Comments
 (0)