From b24cb92240e047a7976f9eccc1b390ac090692e7 Mon Sep 17 00:00:00 2001 From: George Marques Date: Sun, 3 Mar 2019 21:39:42 -0300 Subject: GDScript: Allow `for` iterator to be rededefined --- modules/gdscript/gdscript_parser.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/gdscript/gdscript_parser.cpp') diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index aff39f0b07..7c4ed84757 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -3057,7 +3057,6 @@ void GDScriptParser::_parse_block(BlockNode *p_block, bool p_static) { } DataType iter_type; - iter_type.is_constant = true; if (container->type == Node::TYPE_OPERATOR) { -- cgit v1.2.3