Skip to content

Commit

Permalink
#652 Fixed code smells for: CutsceneActions.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb Murphy committed Oct 17, 2024
1 parent 54e6250 commit 7307f8d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ private void nextCutscene() {
private void cutsceneEnded() {
logger.debug("Transitioning to next cutscene, game level or main menu.");
// Logic for determining what the next screen should be (either next level or cutscene).
logger.debug(String.valueOf(ServiceLocator.getCutsceneScreen().getVal()));
if(logger.isDebugEnabled()) {
logger.debug(String.valueOf(ServiceLocator.getCutsceneScreen().getVal()));
}
if (ServiceLocator.getCutsceneScreen().getVal() == GdxGame.CutsceneType.GOOD_END ||
ServiceLocator.getCutsceneScreen().getVal() == GdxGame.CutsceneType.BAD_END ||
ServiceLocator.getCutsceneScreen().getVal() == GdxGame.CutsceneType.LOSE) {
Expand Down

0 comments on commit 7307f8d

Please sign in to comment.