Change from ENEMY_SPAWN to ENTITY_SPAWN since that's what it does. Closes #31

This commit is contained in:
Zed A. Shaw 2025-06-26 23:22:22 -04:00
parent fcd1bc589c
commit ea92dcc3c4
4 changed files with 4 additions and 4 deletions

View file

@ -515,7 +515,7 @@ bool System::drop_item(GameLevel& level, Entity item) {
collision.insert(pos.location, item);
// BUG: really there should be another system that handles loot->inv moves
if(player_inv.has(item)) player_inv.remove(item);
level.world->send<Events::GUI>(Events::GUI::ENEMY_SPAWN, item, {});
level.world->send<Events::GUI>(Events::GUI::ENTITY_SPAWN, item, {});
level.world->not_constant(item);
return true;
}