From f9a0eb3a124713cd086ace10d818a8f457e5abbb Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 26 Oct 2022 12:57:02 +0200 Subject: center camera on startup --- editor/app.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/app.cpp b/editor/app.cpp index e28f1a72..9ee59844 100644 --- a/editor/app.cpp +++ b/editor/app.cpp @@ -18,6 +18,7 @@ app::app(fm_settings&& opts) : world& w = M->world(); chunk_coords coord{0 ,0}; maybe_initialize_chunk_(coord, w[coord]); + reset_camera_offset(); } app::~app() // NOLINT(modernize-use-equals-default) -- cgit v1.2.3