Update DialoguePatches.cs

This commit is contained in:
Mohammad Shoaib
2022-02-14 00:12:07 +05:30
committed by GitHub
parent 3a6206cf6e
commit fdec231e49

View File

@@ -23,7 +23,7 @@ namespace stardew_access.Patches
// For Normal Character dialogues // For Normal Character dialogues
Dialogue dialogue = __instance.characterDialogue; Dialogue dialogue = __instance.characterDialogue;
string speakerName = dialogue.speaker.displayName; string speakerName = dialogue.speaker.displayName;
List<Response> responses = dialogue.getResponseOptions(); List<Response> responses = __instance.responses;
string toSpeak = " "; string toSpeak = " ";
string dialogueText = ""; string dialogueText = "";
string response = ""; string response = "";