Quest menu closeable

This commit is contained in:
YourWishes committed 2025-05-07 11:16:08 -05:00
1 parent f940247a48
commit 55081f777a
11 files changed
+168 -141

No files matched your search

+3 -3
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