summaryrefslogtreecommitdiff
path: root/src/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server.h b/src/server.h
index 6c789f7b5..b827c5e27 100644
--- a/src/server.h
+++ b/src/server.h
@@ -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);