diff options
| author | chai <chaifix@163.com> | 2018-11-23 13:20:48 +0800 |
|---|---|---|
| committer | chai <chaifix@163.com> | 2018-11-23 13:20:48 +0800 |
| commit | 436568ee6320ee7507c01cd6978c078aec2335bd (patch) | |
| tree | fb5e89c4ab63113013aa8f10d2940c7651d87672 /src/lua/common/je_lua_shared.cpp | |
| parent | 8d4e45c9a85175d0fc37d7d5c49ff90abb01fe4f (diff) | |
*修改文件结构
Diffstat (limited to 'src/lua/common/je_lua_shared.cpp')
| -rw-r--r-- | src/lua/common/je_lua_shared.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/common/je_lua_shared.cpp b/src/lua/common/je_lua_shared.cpp index a3478dd..241aec2 100644 --- a/src/lua/common/je_lua_shared.cpp +++ b/src/lua/common/je_lua_shared.cpp @@ -15,6 +15,7 @@ namespace JinEngine { if (--mCount <= 0) { + // Remove game object reference. luax_removeobject(mL, this); delete this; } |
