diff --git a/src/systems/monster_ai.rs b/src/systems/monster_ai.rs index 32061dd..8123234 100644 --- a/src/systems/monster_ai.rs +++ b/src/systems/monster_ai.rs @@ -74,6 +74,7 @@ pub fn run(world: &mut World, resources: &mut Resources) { resources.stats.add_score(1); *tile = TileType::Floor; to_kill.push(entity); + resources.map.clear_tile_content_at(Point::from(*position)); } _ => { resources.map.clear_tile_content_at(Point::from(*position));