mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 09:25:37 +02:00
script: Put getGuiEngine() inside a client-only #ifdef
This commit is contained in:
@@ -62,10 +62,12 @@ Environment *ModApiBase::getEnv(lua_State *L)
|
||||
return getScriptApiBase(L)->getEnv();
|
||||
}
|
||||
|
||||
#ifndef SERVER
|
||||
GUIEngine *ModApiBase::getGuiEngine(lua_State *L)
|
||||
{
|
||||
return getScriptApiBase(L)->getGuiEngine();
|
||||
}
|
||||
#endif
|
||||
|
||||
std::string ModApiBase::getCurrentModPath(lua_State *L)
|
||||
{
|
||||
|
Reference in New Issue
Block a user