diff options
author | Zoey Kitt <zoey.kitt@outlook.com> | 2024-11-15 18:27:17 -0600 |
---|---|---|
committer | Zoey Kitt <zoey.kitt@outlook.com> | 2024-11-15 18:27:17 -0600 |
commit | 82cc07f7dc13b391c085cb66125c1f35583d5788 (patch) | |
tree | fc490926a591ec8c64dbb6c8f90dae92aa237745 /scenes/closable_window.gd | |
parent | 3080ca5b71cf387b5d8c6cb969470edee39ee367 (diff) |
Let the user close extra windows
Diffstat (limited to 'scenes/closable_window.gd')
-rw-r--r-- | scenes/closable_window.gd | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scenes/closable_window.gd b/scenes/closable_window.gd new file mode 100644 index 0000000..97e1e03 --- /dev/null +++ b/scenes/closable_window.gd @@ -0,0 +1,5 @@ +extends Window + + +func _on_close_requested() -> void: + queue_free() |