You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Create built-in script properly
This commit is contained in:
@@ -308,8 +308,10 @@ void ScriptCreateDialog::_built_in_pressed() {
|
|||||||
|
|
||||||
if (internal->is_pressed()) {
|
if (internal->is_pressed()) {
|
||||||
is_built_in = true;
|
is_built_in = true;
|
||||||
|
is_new_script_created = true;
|
||||||
} else {
|
} else {
|
||||||
is_built_in = false;
|
is_built_in = false;
|
||||||
|
_path_changed(file_path->get_text());
|
||||||
}
|
}
|
||||||
_update_dialog();
|
_update_dialog();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user