diff options
| author | Will Nations | 2017-05-06 03:31:36 -0500 |
|---|---|---|
| committer | Rémi Verschelde | 2017-05-06 10:31:36 +0200 |
| commit | adafaf15aa92d63129dffde09320f1a8d24ec43c (patch) | |
| tree | 8d40c897b933a61c00d1b70d38501b35c43567c6 /editor/editor_node.cpp | |
| parent | 9aee18ef6b487592486d67139a8c4b1cc5584b84 (diff) | |
| download | godot-adafaf15aa92d63129dffde09320f1a8d24ec43c.tar.gz godot-adafaf15aa92d63129dffde09320f1a8d24ec43c.tar.zst godot-adafaf15aa92d63129dffde09320f1a8d24ec43c.zip | |
Diffstat (limited to 'editor/editor_node.cpp')
| -rw-r--r-- | editor/editor_node.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 5f88a928c..698066f18 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1651,7 +1651,7 @@ void EditorNode::_run(bool p_current, const String &p_custom) { current_option = -1; //accept->get_cancel()->hide(); - pick_main_scene->set_text(TTR("No main scene has ever been defined, select one?\nYou can change it later in later in \"Project Settings\" under the 'application' category.")); + pick_main_scene->set_text(TTR("No main scene has ever been defined, select one?\nYou can change it later in \"Project Settings\" under the 'application' category.")); pick_main_scene->popup_centered_minsize(); return; } @@ -4400,10 +4400,10 @@ void EditorNode::_toggle_distraction_free_mode() { } if (screen == EDITOR_SCRIPT) { - script_distraction = not script_distraction; + script_distraction = !script_distraction; set_distraction_free_mode(script_distraction); } else { - scene_distraction = not scene_distraction; + scene_distraction = !scene_distraction; set_distraction_free_mode(scene_distraction); } } else { |
