]> git.localhorst.tv Git - blank.git/blobdiff - src/app/runtime.cpp
load block types from data file
[blank.git] / src / app / runtime.cpp
index 32a401220215dbeeb557e3a53e9b6a5f7ccf6737..ff699794c95f15e2604a45a6ec57e9b289aab4cb 100644 (file)
@@ -1,11 +1,10 @@
 #include "Application.hpp"
 #include "Environment.hpp"
-#include "PreloadState.hpp"
 #include "Runtime.hpp"
 #include "WorldState.hpp"
 
 #include "init.hpp"
-#include "../world/WorldSave.hpp"
+#include "../io/WorldSave.hpp"
 
 #include <cctype>
 #include <cstdlib>
@@ -244,9 +243,6 @@ int Runtime::Execute() {
        WorldState world_state(env, config.interface, config.world, save);
        app.PushState(&world_state);
 
-       PreloadState preloader(env, world_state.GetWorld().Loader());
-       app.PushState(&preloader);
-
        switch (mode) {
                default:
                case NORMAL: