mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-21 18:11:11 +00:00
Change the preprocessor macro that differs server/client builds
This commit is contained in:
parent
e2ea359925
commit
37095f3e49
45 changed files with 137 additions and 88 deletions
|
@ -998,7 +998,7 @@ void push_content_features(lua_State *L, const ContentFeatures &c)
|
|||
lua_pushstring(L, c.mesh.c_str());
|
||||
lua_setfield(L, -2, "mesh");
|
||||
}
|
||||
#ifndef SERVER
|
||||
#if CHECK_CLIENT_BUILD()
|
||||
push_ARGB8(L, c.minimap_color); // I know this is not set-able w/ register_node,
|
||||
lua_setfield(L, -2, "minimap_color"); // but the people need to know!
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue