We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7c48cf commit d32348cCopy full SHA for d32348c
editor/script_create_dialog.cpp
@@ -390,6 +390,8 @@ void ScriptCreateDialog::_create_new() {
390
391
if (is_built_in) {
392
scr->set_name(internal_name->get_text());
393
+ // Make sure the script is compiled to make its type recognizable.
394
+ scr->reload();
395
} else {
396
String lpath = ProjectSettings::get_singleton()->localize_path(file_path->get_text());
397
scr->set_path(lpath);
0 commit comments