mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add minetest.is_singleplayer()
This commit is contained in:
parent
9e0f969b8b
commit
ae7aa65069
3 changed files with 11 additions and 0 deletions
|
@ -583,6 +583,8 @@ public:
|
|||
|
||||
std::string getWorldPath(){ return m_path_world; }
|
||||
|
||||
bool isSingleplayer(){ return m_simple_singleplayer_mode; }
|
||||
|
||||
void setAsyncFatalError(const std::string &error)
|
||||
{
|
||||
m_async_fatal_error.set(error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue