From 87b07a5c872ba37676ea02e6f9961307839137b2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 18 Mar 2023 02:02:49 +0100 Subject: a --- editor/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/app.cpp') 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(global_coords{}, cproto)->id; + _character_id = w2.make_entity(w2.make_id(), global_coords{}, cproto)->id; } } -- cgit v1.2.3