aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu.lua')
-rw-r--r--nomsu.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/nomsu.lua b/nomsu.lua
index 12a9f5d..6ea1d79 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -353,8 +353,9 @@ do
scope = nil
end
if after == nil then
- after = 0
+ after = nil
end
+ after = after or (self.core_defs or 0)
scope = scope or self.defs
local defs_by_num = { }
for stub, def in pairs(scope) do