Fix unreachable code

This commit is contained in:
Nick 2022-06-19 11:57:55 -04:00
parent 343e376329
commit 2183c28669

View File

@ -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)