From 9f60f0982ed46448714044a394f3f1143563c581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 27 Mar 2019 17:27:29 +0800 Subject: =?UTF-8?q?#=E7=9A=84=E8=87=AA=E5=8A=A8=E5=AE=8C=E6=88=90=E4=BC=9A?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E5=9C=BA=E5=90=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/vm/vm.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/src/vm') diff --git a/server/src/vm/vm.lua b/server/src/vm/vm.lua index 77f428ae..332f4a69 100644 --- a/server/src/vm/vm.lua +++ b/server/src/vm/vm.lua @@ -974,6 +974,7 @@ function mt:doAction(action) elseif tp == 'simple' then -- call self:getSimple(action) + action:set('as action', true) elseif tp == 'if' then self:doIf(action) elseif tp == 'loop' then @@ -990,6 +991,7 @@ function mt:doAction(action) self:doLocalFunction(action) else self:getExp(action) + action:set('as action', true) end end -- cgit v1.2.3