Quest menu closeable
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user