diff options
Diffstat (limited to 'editor/app.cpp')
-rw-r--r-- | editor/app.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/app.cpp b/editor/app.cpp index 49d8e96c..5820c165 100644 --- a/editor/app.cpp +++ b/editor/app.cpp @@ -55,7 +55,7 @@ void app::reset_world(struct world&& w) character_proto cproto; cproto.name = "Player"_s; cproto.playable = true; - _character_id = w2.make_entity<character>(global_coords{}, cproto)->id; + _character_id = w2.make_entity<character>(w2.make_id(), global_coords{}, cproto)->id; } } |