From 2183c2866987c37e10c8d43cafc85dabb21c40aa Mon Sep 17 00:00:00 2001 From: Nick Date: Sun, 19 Jun 2022 11:57:55 -0400 Subject: [PATCH] Fix unreachable code --- NewHorizons/Utility/DebugMenu/DebugMenuNomaiText.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/NewHorizons/Utility/DebugMenu/DebugMenuNomaiText.cs b/NewHorizons/Utility/DebugMenu/DebugMenuNomaiText.cs index 3d3b7c4b..6a174f68 100644 --- a/NewHorizons/Utility/DebugMenu/DebugMenuNomaiText.cs +++ b/NewHorizons/Utility/DebugMenu/DebugMenuNomaiText.cs @@ -465,12 +465,14 @@ namespace NewHorizons.Utility.DebugMenu { switch(type) { - case NomaiTextArcInfo.NomaiTextArcType.Stranger: return NomaiTextBuilder.GetGhostArcPrefabs().Count(); - case NomaiTextArcInfo.NomaiTextArcType.Child: return NomaiTextBuilder.GetChildArcPrefabs().Count(); + case NomaiTextArcInfo.NomaiTextArcType.Stranger: + return NomaiTextBuilder.GetGhostArcPrefabs().Count(); + case NomaiTextArcInfo.NomaiTextArcType.Child: + return NomaiTextBuilder.GetChildArcPrefabs().Count(); default: - case NomaiTextArcInfo.NomaiTextArcType.Adult: return NomaiTextBuilder.GetArcPrefabs().Count(); + case NomaiTextArcInfo.NomaiTextArcType.Adult: + return NomaiTextBuilder.GetArcPrefabs().Count(); } - return 0; } void UpdateConversationTransform(ConversationMetadata conversationMetadata, GameObject sectorParent)