Solve a problem where if you give a name for cell and the name doesn't exist you get a crash during world query in GUECS.

This commit is contained in:
Zed A. Shaw 2025-04-08 13:01:24 -04:00
parent 0e2f213871
commit 5a3b567fd1
2 changed files with 14 additions and 12 deletions

View file

@ -114,6 +114,7 @@ namespace guecs {
void position(int x, int y, int width, int height);
void layout(std::string grid);
DinkyECS::Entity init_entity(std::string name);
DinkyECS::Entity entity(std::string name);
inline lel::CellMap& cells() {