From e0dba6e2d41b7774d4b047b5e7df0540e23e2fd0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Krist=C3=BDna=20Janovsk=C3=A1?= <janovkri@fit.cvut.cz>
Date: Fri, 20 Jan 2023 21:30:37 +0100
Subject: [PATCH] npc advice fix:

---
 Assets/SZZ/Code/Scripts/NPCs/NPCEPAdvice.cs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Assets/SZZ/Code/Scripts/NPCs/NPCEPAdvice.cs b/Assets/SZZ/Code/Scripts/NPCs/NPCEPAdvice.cs
index 49ef02a..8bd53e6 100644
--- a/Assets/SZZ/Code/Scripts/NPCs/NPCEPAdvice.cs
+++ b/Assets/SZZ/Code/Scripts/NPCs/NPCEPAdvice.cs
@@ -25,7 +25,8 @@ public void DialogueStart(Story story) {
     }
 
     public void DialogueFinish(Story story) {
-        firstEncounter = false;
+        if (game.currentLevel == 3)
+            firstEncounter = false;
         switch (story.variablesState["result"]) {
             case 1: {
                     game.adviceAmount++;
-- 
GitLab