]> git.localhorst.tv Git - blank.git/blobdiff - src/app/runtime.cpp
move server and client stuff around
[blank.git] / src / app / runtime.cpp
index 8ce7b5dd59562fa989487ae635cc266849939349..cc9d3bb189ca4b8f6a1032152c3d77008bf84e0c 100644 (file)
@@ -1,13 +1,13 @@
 #include "Application.hpp"
 #include "Environment.hpp"
 #include "Runtime.hpp"
-#include "ServerState.hpp"
 #include "WorldState.hpp"
 
 #include "init.hpp"
 #include "../client/MasterState.hpp"
 #include "../io/filesystem.hpp"
 #include "../io/WorldSave.hpp"
+#include "../server/ServerState.hpp"
 
 #include <cctype>
 #include <cstdlib>
@@ -342,7 +342,7 @@ void Runtime::RunServer() {
        }
 
        HeadlessApplication app(env);
-       ServerState server_state(env, config.gen, config.world, save, config.server);
+       server::ServerState server_state(env, config.gen, config.world, save, config.server);
        app.PushState(&server_state);
        Run(app);
 }