summaryrefslogtreecommitdiffhomepage
path: root/editor/app.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-17 07:01:45 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-17 23:23:11 +0100
commit34ae7b665919d05660263bf522c78ebdb735d30d (patch)
treed58a83c5b5b71763c71e51cf421079380cac00c1 /editor/app.cpp
parent34a0239ad6e6d84bd0027d9029d0d74419247d01 (diff)
aaa
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()