From f637a34ca04a4f503e08ea977b44db9a26c641c3 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, 26 Mar 2019 17:32:48 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/vm/source.lua | 2 +- server/src/vm/value.lua | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'server/src/vm') diff --git a/server/src/vm/source.lua b/server/src/vm/source.lua index af8b9ab3..b74d10d2 100644 --- a/server/src/vm/source.lua +++ b/server/src/vm/source.lua @@ -103,7 +103,7 @@ local function instant(source) Id = Id + 1 source.id = Id List[Id] = source - Watch[source] = Id + Watch[source] = Id setmetatable(source, mt) return true end diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua index cfcdb66d..f0525b14 100644 --- a/server/src/vm/value.lua +++ b/server/src/vm/value.lua @@ -182,10 +182,6 @@ function mt:getChild(index, source) return value end -function mt:bindChild(other) - self._child = other._child -end - function mt:setMetaTable(metatable) self._meta = metatable end -- cgit v1.2.3