Parcourir la source

GDScript: Allow `for` iterator to be rededefined

George Marques il y a 6 ans
Parent
commit
b24cb92240
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      modules/gdscript/gdscript_parser.cpp

+ 0 - 1
modules/gdscript/gdscript_parser.cpp

@@ -3057,7 +3057,6 @@ void GDScriptParser::_parse_block(BlockNode *p_block, bool p_static) {
 				}
 				}
 
 
 				DataType iter_type;
 				DataType iter_type;
-				iter_type.is_constant = true;
 
 
 				if (container->type == Node::TYPE_OPERATOR) {
 				if (container->type == Node::TYPE_OPERATOR) {