summaryrefslogtreecommitdiffhomepage
path: root/editor/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/app.cpp')
-rw-r--r--editor/app.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/app.cpp b/editor/app.cpp
index 769f2622..aa615137 100644
--- a/editor/app.cpp
+++ b/editor/app.cpp
@@ -51,7 +51,7 @@ void app::reset_world(struct world&& w)
return;
auto& w2 = M->reset_world(std::move(w));
w2.collect(true);
- _character_id = w2.make_entity<character>(global_coords{})->id;
+ _character_id = w2.make_entity<character>(global_coords{}, true)->id;
}
int app::exec()