Document for api functions that rely on current_modname, that it doesn't work when not loading mods
This commit is contained in:
@@ -40,6 +40,7 @@ class ModApiBase {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user