From e591cd30fc0a7ab992ca25a909f562d75df06c70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 19 Mar 2019 15:29:55 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=80=E4=B8=AA=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/vm/vm.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'server/src/vm') diff --git a/server/src/vm/vm.lua b/server/src/vm/vm.lua index edf70c30..ef939c79 100644 --- a/server/src/vm/vm.lua +++ b/server/src/vm/vm.lua @@ -914,6 +914,7 @@ function mt:doFunction(action) local value = self:buildFunction(action) local source = name[#name] self:instantSource(source) + source:set('parent', parent) source:set('object', parent) if source.type == 'index' then local index = self:getIndex(source) -- cgit v1.2.3