summaryrefslogtreecommitdiff
path: root/server/src/vm
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/vm')
-rw-r--r--server/src/vm/value.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua
index 43f278c0..f731892b 100644
--- a/server/src/vm/value.lua
+++ b/server/src/vm/value.lua
@@ -227,7 +227,9 @@ function mt:flushChild()
local src = listMgr.get(srcId)
if src then
if info.type == 'set child' or info.type == 'get child' then
- alived[info[1]] = true
+ if info[1] then
+ alived[info[1]] = true
+ end
end
count = count + 1
else