Actually exit the game upon completing the main quest.
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
1 parent
904c6e7f15
commit
f1c232847f
2 files changed
+3
-4
No files matched your search
@@ -51,4 +51,7 @@ func printline(line: String) -> void:
|
||||
$ConsoleText.text += "\n" + line
|
||||
|
||||
func close() -> void:
|
||||
if has_finished_initialization():
|
||||
get_tree().quit()
|
||||
|
||||
visible = false
|
||||
Reference in new issue
Block a user