You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Fix typos with codespell
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
This commit is contained in:
@@ -2908,7 +2908,7 @@ void EditorNode::_set_main_scene_state(Dictionary p_state, Node *p_for_scene) {
|
||||
|
||||
if (p_state.has("editor_index")) {
|
||||
int index = p_state["editor_index"];
|
||||
if (current < 2) { //if currently in spatial/2d, only switch to spatial/2d. if curently in script, stay there
|
||||
if (current < 2) { //if currently in spatial/2d, only switch to spatial/2d. if currently in script, stay there
|
||||
if (index < 2 || !get_edited_scene()) {
|
||||
_editor_select(index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user