mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Document for api functions that rely on current_modname, that it doesn't work when not loading mods
This commit is contained in:
parent
c758fd73ff
commit
0a413265cb
2 changed files with 4 additions and 2 deletions
|
@ -40,6 +40,7 @@ public:
|
|||
static Server* getServer(lua_State *L);
|
||||
static Environment* getEnv(lua_State *L);
|
||||
static GUIEngine* getGuiEngine(lua_State *L);
|
||||
// When we are not loading the mod, this function returns "."
|
||||
static std::string getCurrentModPath(lua_State *L);
|
||||
|
||||
// Get an arbitrary subclass of ScriptApiBase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue