fix pause + dialogue bug
Marco Andronaco andronacomarco@gmail.com
Wed, 15 Apr 2020 19:23:18 +0200
1 files changed,
3 insertions(+),
2 deletions(-)
M
Assets/Scripts/Overworld/PauseMenuManager.cs
→
Assets/Scripts/Overworld/PauseMenuManager.cs
@@ -4,12 +4,13 @@
public class PauseMenuManager : MonoBehaviour { public OverworldUIManager ui; - + public DialogueManager dm; void Update() { if (Input.GetKeyDown(KeyCode.Escape)) { - ui.showPause(togglePause()); + if(dm.alreadyTalking == null) + ui.showPause(togglePause()); } }