summaryrefslogtreecommitdiff
path: root/server/src/vm/emmy.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/vm/emmy.lua')
-rw-r--r--server/src/vm/emmy.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/src/vm/emmy.lua b/server/src/vm/emmy.lua
index 7a82cfcd..4ecef4d3 100644
--- a/server/src/vm/emmy.lua
+++ b/server/src/vm/emmy.lua
@@ -35,6 +35,7 @@ function mt:doEmmy(action)
elseif tp == 'emmyFunctionType' then
self:doEmmyFunctionType(action)
elseif tp == 'emmySee' then
+ self:doEmmySee(action)
elseif tp == 'emmyIncomplete' then
self:doEmmyIncomplete(action)
end
@@ -312,3 +313,9 @@ end
function mt:doEmmyIncomplete(action)
self:instantSource(action)
end
+
+function mt:doEmmySee(action)
+ self:instantSource(action)
+ self:instantSource(action[2])
+ action[2]:set('emmy see', action)
+end