1
0
Fork 0
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:
est31 2015-04-08 22:44:37 +02:00
parent c758fd73ff
commit 0a413265cb
2 changed files with 4 additions and 2 deletions

View file

@ -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