Fix wrong base type when creating script

(cherry picked from commit afdc1d64567b93d5b6fda8f9e20cde462a4fbea0)
This commit is contained in:
kobewi
2026-02-02 22:59:57 +01:00
committed by Thaddeus Crews
parent aac131f386
commit 2dec60976f

View File

@@ -492,7 +492,7 @@ void ScriptCreateDialog::_file_selected(const String &p_file) {
}
void ScriptCreateDialog::_create() {
parent_name->set_text(select_class->get_selected_type());
parent_name->set_text(select_class->get_selected_type_name());
_parent_name_changed(parent_name->get_text());
}