1
0
Fork 0
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:
Perttu Ahola 2012-03-28 13:22:48 +03:00
parent 9e0f969b8b
commit ae7aa65069
3 changed files with 11 additions and 0 deletions

View file

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