Selaa lähdekoodia

Merge pull request #31258 from creikey/fix-redefine

Show that identifier found in function names
Rémi Verschelde 6 vuotta sitten
vanhempi
commit
50a4ed3d13
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      servers/visual/shader_language.cpp

+ 1 - 0
servers/visual/shader_language.cpp

@@ -961,6 +961,7 @@ bool ShaderLanguage::_find_identifier(const BlockNode *p_block, const Map<String
 			if (r_type) {
 				*r_type = IDENTIFIER_FUNCTION;
 			}
+			return true;
 		}
 	}