Fix wrong base type when creating script
(cherry picked from commit afdc1d64567b93d5b6fda8f9e20cde462a4fbea0)
This commit is contained in:
@@ -492,7 +492,7 @@ void ScriptCreateDialog::_file_selected(const String &p_file) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ScriptCreateDialog::_create() {
|
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());
|
_parent_name_changed(parent_name->get_text());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user