summaryrefslogtreecommitdiff
path: root/script/vm/runner.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/runner.lua')
-rw-r--r--script/vm/runner.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/runner.lua b/script/vm/runner.lua
index 2de06aaa..3ee718b3 100644
--- a/script/vm/runner.lua
+++ b/script/vm/runner.lua
@@ -57,7 +57,7 @@ function mt:_collect()
end
table.sort(self._objs, function (a, b)
- return (a.range or a.finish) < (b.range or b.start)
+ return (a.range or a.start) < (b.range or b.start)
end)
end