From d7fd86d51aadda665667c88dca657993f0de14d7 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 12 Feb 2017 22:51:16 -0300 Subject: -begin of export work, not done yet -fixes to make scenes exported from godot 2.x work --- modules/gdscript/gd_parser.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/gdscript') diff --git a/modules/gdscript/gd_parser.cpp b/modules/gdscript/gd_parser.cpp index c1c1f5d5a9..1bda8f0cd3 100644 --- a/modules/gdscript/gd_parser.cpp +++ b/modules/gdscript/gd_parser.cpp @@ -2587,6 +2587,8 @@ void GDParser::_parse_block(BlockNode *p_block,bool p_static) { constants.push_back(c->value); constant=true; } + } else { + constant=false; } } -- cgit v1.2.3