public static void ExitDialogue() { dialogueOpen = false; dialogueClosedThisFrame = true; if (currentNPC != null) { currentNPC.CloseDialogue(); if (currentNPC.centerCameraInDialogue) { playerFollower.StopLookingAtPoint(); } } currentNPC = null; if (queuedNPCs.Count != 0) { EnterDialogue(queuedNPCs.Dequeue(), fromQueue: true); FinishOpeningLetterboxes(); } else { dialogueUI.Close(); } }