From f1c232847fa80b25aa1398dd5c50fe96602c60b9 Mon Sep 17 00:00:00 2001 From: Gregory Marco Date: Sun, 18 Oct 2026 03:10:37 -0500 Subject: [PATCH] Actually exit the game upon completing the main quest. --- old_computer.gd | 3 +++ player_2d.gd | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/old_computer.gd b/old_computer.gd index 92bc7b4..436a066 100644 --- a/old_computer.gd +++ b/old_computer.gd @@ -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 diff --git a/player_2d.gd b/player_2d.gd index 07359f3..1e8cad2 100644 --- a/player_2d.gd +++ b/player_2d.gd @@ -26,10 +26,6 @@ func _ready() -> void: spawn_point = position DisplayServer.window_set_title("JUMPS EQUALS JUMPS") give_objective("sarc", 0, "Open the Sarcophagus") - give_disk(1) - give_disk(2) - give_disk(3) - give_disk(4) #%Dialogue.show_text("Hello world!").dismiss_after(2) func refresh_dash(new_dashes):