all repos — RPG @ 006fdc724dea4fb9f50a04871f38776841e84439

Fully functional 3D turn based role playing game coded in C# and base Unity.

fix pause + dialogue bug
Marco Andronaco andronacomarco@gmail.com
Wed, 15 Apr 2020 19:23:18 +0200
commit

006fdc724dea4fb9f50a04871f38776841e84439

parent

5dd0e2789567908ea2c44449a4112f14377fcaf7

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M Assets/Scripts/Overworld/PauseMenuManager.csAssets/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()); } }