From d34e5c9d7c6135e805f2cc231411cdcc9910190c Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 8 Dec 2018 11:53:02 +0800 Subject: *misc --- src/lua/common/je_lua_runtime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lua/common/je_lua_runtime.cpp') 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. -- cgit v1.1-26-g67d0