diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-02-12 22:51:16 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-02-15 08:30:32 -0300 |
commit | d7fd86d51aadda665667c88dca657993f0de14d7 (patch) | |
tree | 9efd3db7c491de74a975ef2bf8487051050fcc5c /modules/gdscript | |
parent | 9cdd364fc0edee407a65fbef674dcc3bcea378a9 (diff) |
-begin of export work, not done yet
-fixes to make scenes exported from godot 2.x work
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/gd_parser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; } } |