summaryrefslogtreecommitdiff
path: root/server/src/vm/value.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/vm/value.lua')
-rw-r--r--server/src/vm/value.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua
index f8824db6..1079c206 100644
--- a/server/src/vm/value.lua
+++ b/server/src/vm/value.lua
@@ -184,7 +184,7 @@ function mt:addInfo(tp, source)
if source and not source.start then
error('Miss start: ' .. table.dump(source))
end
- self[#self] = {
+ self[#self+1] = {
type = tp,
source = source or getDefaultSource(),
}