summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-02-12 22:51:16 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-02-15 08:30:32 -0300
commitd7fd86d51aadda665667c88dca657993f0de14d7 (patch)
tree9efd3db7c491de74a975ef2bf8487051050fcc5c /modules/gdscript
parent9cdd364fc0edee407a65fbef674dcc3bcea378a9 (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.cpp2
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;
}
}