Quest menu closeable

This commit is contained in:
2025-05-07 11:16:08 -05:00
parent f940247a48
commit 55081f777a
11 changed files with 168 additions and 141 deletions

View File

@@ -4,7 +4,7 @@ class_name EventShowQuest extends "res://scripts/Event/Event.gd"
@export var waitUntilClosed:bool = true
func start():
UI.showQuestsMenu(quest)
UI.QUEST_MENU.open(quest)
pass
func isDone() -> bool:
@@ -12,6 +12,6 @@ func isDone() -> bool:
return false
if waitUntilClosed:
return false
return !UI.QUEST_MENU.isOpen()
return true
return true