Przeglądaj źródła

Merge pull request #31258 from creikey/fix-redefine

Show that identifier found in function names
Rémi Verschelde 6 lat temu
rodzic
commit
50a4ed3d13
1 zmienionych plików z 1 dodań i 0 usunięć
  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) {
 			if (r_type) {
 				*r_type = IDENTIFIER_FUNCTION;
 				*r_type = IDENTIFIER_FUNCTION;
 			}
 			}
+			return true;
 		}
 		}
 	}
 	}