aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-12-15 15:30:05 -0800
committerBruce Hill <bitbucket@bruce-hill.com>2017-12-15 15:30:05 -0800
commit3c303018bb0d619676a1578b7a3a52571e9e14ad (patch)
tree4619ba1e9ce4b549a05b92e1021d65fe012a6e98 /nomsu.lua
parent340714635acdfb9651a39fb633f3b40c976eda45 (diff)
Tweaks.
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