diff options
Diffstat (limited to 'editor/ctor.cpp')
-rw-r--r-- | editor/ctor.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/editor/ctor.cpp b/editor/ctor.cpp index 6e7e435f..a10f94cf 100644 --- a/editor/ctor.cpp +++ b/editor/ctor.cpp @@ -18,7 +18,7 @@ app::app(fm_settings&& opts) : keys_{InPlaceInit, 0u}, key_modifiers{} { - reset_world(); + reset_world_post(); auto& w = M->world(); constexpr chunk_coords_ coord{0, 0, 0}; maybe_initialize_chunk_(coord, w[coord]); @@ -29,12 +29,7 @@ app::app(fm_settings&& opts) : app::~app() { + reset_world_pre(); } -void app::reset_world() -{ - reset_world(world{}); -} - - } // namespace floormat |