aboutsummaryrefslogtreecommitdiff
path: root/src/lua/common/je_lua_runtime.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-08 11:53:02 +0800
committerchai <chaifix@163.com>2018-12-08 11:53:02 +0800
commitd34e5c9d7c6135e805f2cc231411cdcc9910190c (patch)
tree4ebb6e0b438269f8fe557de5ef85e82487febfc7 /src/lua/common/je_lua_runtime.cpp
parent39f653eb882dffa2f69209d192093f23588ff176 (diff)
*misc
Diffstat (limited to 'src/lua/common/je_lua_runtime.cpp')
-rw-r--r--src/lua/common/je_lua_runtime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/common/je_lua_runtime.cpp b/src/lua/common/je_lua_runtime.cpp
index 73f671c..055073d 100644
--- a/src/lua/common/je_lua_runtime.cpp
+++ b/src/lua/common/je_lua_runtime.cpp
@@ -54,7 +54,7 @@ namespace JinEngine
luax_copyinstance(to, luaObj);
luax_pop(to, 1); // Pop reference object.
}
- SharedBase * shr = src->getSharedBase();
+ SharedBase * shr = src->getShared();
LuaObject* obj = luax_newinstance(to, src->getObjectType(), shr);
(*obj->dependencies) = (*src->dependencies);
// Add to objects_table.