mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Merge pull request #1380 from ElectricSolstice/wparentheses_removal
Changed code to remove gcc -Wparentheses warnings.
This commit is contained in:
commit
f706e3e5d1
7 changed files with 12 additions and 10 deletions
|
@ -630,11 +630,13 @@ bool ScriptEditor::_test_script_times_on_disk() {
|
|||
|
||||
|
||||
|
||||
if (!all_ok)
|
||||
if (bool(EDITOR_DEF("text_editor/auto_reload_changed_scripts",false)))
|
||||
if (!all_ok) {
|
||||
if (bool(EDITOR_DEF("text_editor/auto_reload_changed_scripts",false))) {
|
||||
script_editor->_reload_scripts();
|
||||
else
|
||||
} else {
|
||||
disk_changed->call_deferred("popup_centered_ratio",0.5);
|
||||
}
|
||||
}
|
||||
|
||||
return all_ok;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue