diff options
Diffstat (limited to 'server/src/vm')
-rw-r--r-- | server/src/vm/local.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/vm/local.lua b/server/src/vm/local.lua index 6ddaac03..8f9ee3e4 100644 --- a/server/src/vm/local.lua +++ b/server/src/vm/local.lua @@ -109,6 +109,9 @@ end function mt:shadow(old) if not old then + if not self._shadow then + return nil + end for i = #self._shadow, 1, -1 do local loc = self._shadow[i] if not loc:getSource() then |