summaryrefslogtreecommitdiff
path: root/server/src/vm/source.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/vm/source.lua')
-rw-r--r--server/src/vm/source.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/vm/source.lua b/server/src/vm/source.lua
index e6e15e9c..247788b0 100644
--- a/server/src/vm/source.lua
+++ b/server/src/vm/source.lua
@@ -80,6 +80,10 @@ function mt:getName()
return self[1]
end
+function mt:isDead()
+ return self._dead
+end
+
return function (vm, source)
if source._hasInstant then
return false