text panels - fix distance opening II

This commit is contained in:
KrolMel 2022-12-28 17:22:11 +01:00
parent 7db7398c75
commit 7577aa269c
2 changed files with 2 additions and 1 deletions

View File

@ -239149,7 +239149,7 @@ MonoBehaviour:
Value: {fileID: 11400000, guid: 54f1e69d5ede2d74eb4f3f95cdb7e20a, type: 2}
- Key: 5
Value: {fileID: 11400000, guid: c96390ceb0786494db5919aaad6a06be, type: 2}
- Key: 23
- Key: 13
Value: {fileID: 11400000, guid: 5e28ddfc23a61b842bb3007b766d1649, type: 2}
--- !u!114 &593922350
MonoBehaviour:

View File

@ -105,6 +105,7 @@ public class NpcShopManager : MonoBehaviour
if (Dialogue.DialogueSteps.First().DialogueController?.CurrentPanel != null)
Dialogue.BreakDialogueStep();
gameObject.GetComponent<NpcDialogueManager>().CanBeOpened = false;
CloseShop();
}