From fab348f451b5b48040ef51e832b0cb140030c0c5 Mon Sep 17 00:00:00 2001 From: Finn Schoellkopf Date: Tue, 24 Oct 2023 16:40:23 +0200 Subject: [PATCH] Hotfix for 4.2beta bug. --- addons/pronto/docks/create_button.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/pronto/docks/create_button.gd b/addons/pronto/docks/create_button.gd index a4defd36..bcc0f9e2 100644 --- a/addons/pronto/docks/create_button.gd +++ b/addons/pronto/docks/create_button.gd @@ -91,7 +91,7 @@ func clicked(): create_scene(name, create_export) # Open the newly created scene in editor. - var editor_interface = G.at("_pronto_editor_plugin").get_editor_interface() as EditorInterface + var editor_interface = G.at("_pronto_editor_plugin").get_editor_interface() var scene_path = "res://prototypes/" + name + "/" + name + ".tscn" editor_interface.open_scene_from_path(scene_path)