summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/parser/compile.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/compile.lua b/script/parser/compile.lua
index ccbeeed7..e1e07c54 100644
--- a/script/parser/compile.lua
+++ b/script/parser/compile.lua
@@ -460,9 +460,9 @@ local vmMap = {
function CompileBlock(obj, parent)
for i = 1, #obj do
local act = obj[i]
+ act.parent = parent
local f = vmMap[act.type]
if f then
- act.parent = parent
f(act)
end
end