From d41a0e2b8e405c30fb053b74fd1bc09ae3a0e6da 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, 10 Apr 2019 23:35:53 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=80=E5=A4=84=E6=B3=84=E6=BC=8F?= =?UTF-8?q?=EF=BC=9A=E5=85=A8=E5=B1=80=E5=8F=98=E9=87=8F=E5=90=88=E5=B9=B6?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E9=9C=80=E8=A6=81=E9=80=92=E5=BD=92=E6=A0=87?= =?UTF-8?q?=E8=AE=B0=E5=AD=90=E5=9F=9F=E4=B8=BA=E5=85=A8=E5=B1=80=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E4=BE=BF=E4=B9=8B=E5=90=8E=E8=BF=9B=E8=A1=8C=E6=B8=85?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/vm/value.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/src/vm') diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua index ea16559a..95eb0192 100644 --- a/server/src/vm/value.lua +++ b/server/src/vm/value.lua @@ -354,6 +354,9 @@ function mt:mergeValue(value) list[#list+1] = bc end end + if global then + bc:markGlobal() + end a._child[k] = bc end end -- cgit v1.2.3