diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-05 14:08:19 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-05 14:08:19 +0100 |
commit | 6bda686c04e602c7e50d4838632d92c55b228c36 (patch) | |
tree | 4c2e1897a754735c755dd1ab05e1b79d481f98c5 /src/script/common/c_content.cpp | |
parent | 46237330d287f1d3f50d71d2e7d7e556eeaa23b1 (diff) | |
download | dragonfireclient-6bda686c04e602c7e50d4838632d92c55b228c36.tar.xz |
MapBlockMesh Performance Improvement
Diffstat (limited to 'src/script/common/c_content.cpp')
-rw-r--r-- | src/script/common/c_content.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp index 7d4c1e748..210363417 100644 --- a/src/script/common/c_content.cpp +++ b/src/script/common/c_content.cpp @@ -1837,9 +1837,10 @@ void push_pointed_thing(lua_State *L, const PointedThing &pointed, bool csm, } else if (pointed.type == POINTEDTHING_OBJECT) { lua_pushstring(L, "object"); lua_setfield(L, -2, "type"); - if (csm) { +#ifndef SERVER ClientObjectRef::create(L, pointed.object_id); +#endif } else { push_objectRef(L, pointed.object_id); } |