mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-05 18:41:05 +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
|
@ -222,7 +222,7 @@ void ModApiHttp::Initialize(lua_State *L, int top)
|
|||
#if USE_CURL
|
||||
|
||||
bool isMainmenu = false;
|
||||
#ifndef SERVER
|
||||
#if CHECK_CLIENT_BUILD()
|
||||
isMainmenu = ModApiBase::getGuiEngine(L) != nullptr;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue