diff options
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/server.h b/src/server.h index 0b4c67deb..31e3ed176 100644 --- a/src/server.h +++ b/src/server.h @@ -410,7 +410,8 @@ public: Server( const std::string &path_world, const std::string &path_config, - const SubgameSpec &gamespec + const SubgameSpec &gamespec, + bool simple_singleplayer_mode ); ~Server(); void start(unsigned short port); @@ -659,6 +660,9 @@ private: std::string m_path_config; // Subgame specification SubgameSpec m_gamespec; + // If true, do not allow multiple players and hide some multiplayer + // functionality + bool m_simple_singleplayer_mode; // Equivalent of /usr/share/minetest/server std::string m_path_share; |