aboutsummaryrefslogtreecommitdiff
path: root/src/serverenvironment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/serverenvironment.h')
-rw-r--r--src/serverenvironment.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/serverenvironment.h b/src/serverenvironment.h
index 00184421e..2ecd55ce8 100644
--- a/src/serverenvironment.h
+++ b/src/serverenvironment.h
@@ -203,13 +203,15 @@ enum ClearObjectsMode {
CLEAR_OBJECTS_MODE_QUICK,
};
-class ServerEnvironment : public Environment
+class ServerEnvironment final : public Environment
{
public:
- ServerEnvironment(ServerMap *map, ServerScripting *scriptIface,
+ ServerEnvironment(ServerMap *map, ServerScripting *script_iface,
Server *server, const std::string &path_world, MetricsBackend *mb);
~ServerEnvironment();
+ void init();
+
Map & getMap();
ServerMap & getServerMap();