1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix suspicious | and + operators

(cherry picked from commit d0621b954b)
This commit is contained in:
Rafał Mikrut
2020-02-23 09:28:54 +01:00
committed by Rémi Verschelde
parent 6e300a0c49
commit d001ca320d
2 changed files with 2 additions and 2 deletions

View File

@@ -355,7 +355,7 @@ void VisualScriptPropertySelector::get_visual_node_names(const String &root_filt
continue;
}
bool in_modifier = false | p_modifiers.empty();
bool in_modifier = p_modifiers.empty();
for (Set<String>::Element *F = p_modifiers.front(); F && in_modifier; F = F->next()) {
if (E->get().findn(F->get()) != -1)
in_modifier = true;