Check whether the confirmed signal is already connected in the add folder dialog.

This commit is contained in:
Relintai 2022-01-26 21:14:30 +01:00
parent 8b486e156b
commit 1ee8220992

View File

@ -9,6 +9,7 @@ var _module = null
signal folders_created
func _enter_tree():
if !is_connected("confirmed", self, "on_confirmed"):
connect("confirmed", self, "on_confirmed")
func setup() -> void: