summaryrefslogtreecommitdiffstats
path: root/src/control/RPGEdit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/control/RPGEdit.cpp')
-rw-r--r--src/control/RPGEdit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/RPGEdit.cpp b/src/control/RPGEdit.cpp
index e8d71a6..31998b2 100644
--- a/src/control/RPGEdit.cpp
+++ b/src/control/RPGEdit.cpp
@@ -107,7 +107,7 @@ void RPGEdit::run() {
ctx = std::make_shared<MapContext>(&eventBus, &inputHandler, map);
window = std::make_shared<View::Window>();
- mapView = ctx->initView(window);
+ mapView = std::make_shared<View::MapView>(window, map);
eventThread = std::thread([this] { eventLoop(); });