diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 16:44:39 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 16:44:39 +0100 |
commit | 27dd8b268fbe37fa6eed0c0fc0f013134e5e2dc9 (patch) | |
tree | 7f04c83b09aa1d0706e832d16fa19ee31cd12f31 /editor/app.hpp | |
parent | f82e612070b3edc963e787f121a58a2821ffa2a5 (diff) |
editor/app: don't duplicate characters on load
Diffstat (limited to 'editor/app.hpp')
-rw-r--r-- | editor/app.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/app.hpp b/editor/app.hpp index 2407f7cb..dc8fed2c 100644 --- a/editor/app.hpp +++ b/editor/app.hpp @@ -77,6 +77,7 @@ private: void update_character(float dt); void reset_world(); void reset_world(struct world&& w); + void ensure_player_character(world& w); void draw() override; |