mirror of
https://github.com/godotengine/godot.git
synced 2025-01-12 20:22:49 +08:00
Create built-in script properly
This commit is contained in:
parent
814d6cad13
commit
d072d5ed14
@ -308,8 +308,10 @@ void ScriptCreateDialog::_built_in_pressed() {
|
||||
|
||||
if (internal->is_pressed()) {
|
||||
is_built_in = true;
|
||||
is_new_script_created = true;
|
||||
} else {
|
||||
is_built_in = false;
|
||||
_path_changed(file_path->get_text());
|
||||
}
|
||||
_update_dialog();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user