Browse Source

Merge pull request #31258 from creikey/fix-redefine

Show that identifier found in function names
Rémi Verschelde 6 years ago
parent
commit
50a4ed3d13
1 changed files with 1 additions and 0 deletions
  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;
 		}
 	}