From e6784166f21b37a6ecabd1b8310da2e4f596cf6f Mon Sep 17 00:00:00 2001 From: Qwreey Date: Fri, 12 Aug 2022 01:06:42 +0900 Subject: [PATCH] bugfix --- src/mount.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mount.lua b/src/mount.lua index bc9c2ba..7df79f3 100644 --- a/src/mount.lua +++ b/src/mount.lua @@ -33,7 +33,7 @@ function module.init(shared) function new.mount(to,this,holder) local thisObject = this; if type(this) == "table" then - thisObject = this.__object; + thisObject = rawget(this,"__object"); local parent = rawget(this,"__parent"); if type(parent) == "table" then local parentChild = rawget(parent,"__child");