From 69ff74911cc4c4420cb8b49291a3f9d880718f64 Mon Sep 17 00:00:00 2001 From: henrisel Date: Sat, 7 Mar 2026 14:17:31 +0200 Subject: [PATCH] professor waits a few sec before starting to leave --- Assets/_PROJECT/Fonts/Quantico-Regular SDF.asset | 4 ++-- .../_PROJECT/Scripts/ModeGeneration/NPCs/ShapeDetectionNPC.cs | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Assets/_PROJECT/Fonts/Quantico-Regular SDF.asset b/Assets/_PROJECT/Fonts/Quantico-Regular SDF.asset index 2eaf7f6d..89892cfe 100644 --- a/Assets/_PROJECT/Fonts/Quantico-Regular SDF.asset +++ b/Assets/_PROJECT/Fonts/Quantico-Regular SDF.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:db8d934f0d4f859a353eb3fdc40d5c7150e599415f7ac3fdf3db61a30ee3ea42 -size 2137678 +oid sha256:02774babc3092836a73e247f50722dfd9bdd4069232a70080fafd9e8e2f02927 +size 2138599 diff --git a/Assets/_PROJECT/Scripts/ModeGeneration/NPCs/ShapeDetectionNPC.cs b/Assets/_PROJECT/Scripts/ModeGeneration/NPCs/ShapeDetectionNPC.cs index 6221cd79..dd72af33 100644 --- a/Assets/_PROJECT/Scripts/ModeGeneration/NPCs/ShapeDetectionNPC.cs +++ b/Assets/_PROJECT/Scripts/ModeGeneration/NPCs/ShapeDetectionNPC.cs @@ -150,11 +150,13 @@ public class ShapeDetectionNPC : NPCController }); } - public void OnPlayerEnteredRoom() + public async void OnPlayerEnteredRoom() { if (state == 6) { + state = 7; questMarker.gameObject.SetActive(false); + await Task.Delay(2500); MoveToNextPoint(0); } }