diff options
author | sfan5 <sfan5@live.de> | 2022-04-09 14:47:59 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-05-02 20:54:55 +0200 |
commit | 56a558baf8ef43810014347ae624cb4ef70b6aa3 (patch) | |
tree | 071640a50dba48bc5a28d07d782b56923aa690c3 /src/server.h | |
parent | e6385e2ab74af7b01163ea91d4e3cfd5dfe6552e (diff) | |
download | minetest-56a558baf8ef43810014347ae624cb4ef70b6aa3.tar.gz minetest-56a558baf8ef43810014347ae624cb4ef70b6aa3.tar.bz2 minetest-56a558baf8ef43810014347ae624cb4ef70b6aa3.zip |
Refactor some Lua API functions in preparation for async env
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server.h b/src/server.h index 008213c5d..bd799c313 100644 --- a/src/server.h +++ b/src/server.h @@ -292,11 +292,10 @@ public: virtual const std::vector<ModSpec> &getMods() const; virtual const ModSpec* getModSpec(const std::string &modname) const; - void getModNames(std::vector<std::string> &modlist); std::string getBuiltinLuaPath(); virtual std::string getWorldPath() const { return m_path_world; } - inline bool isSingleplayer() + inline bool isSingleplayer() const { return m_simple_singleplayer_mode; } inline void setAsyncFatalError(const std::string &error) |