diff --git a/examples/the-dungeon-puzzlers-lament/src/game/simulation/entity.rs b/examples/the-dungeon-puzzlers-lament/src/game/simulation/entity.rs index c45ca646..de128708 100644 --- a/examples/the-dungeon-puzzlers-lament/src/game/simulation/entity.rs +++ b/examples/the-dungeon-puzzlers-lament/src/game/simulation/entity.rs @@ -734,8 +734,13 @@ impl Entity { fn push_depth(&self) -> Option { if matches!(self.holding(), Some(&EntityType::Item(Item::Glove))) { Some(i32::MAX) - } else { + } else if matches!( + self.entity, + EntityType::Hero(_) | EntityType::Enemy(Enemy::Squid(_)) + ) { Some(1) + } else { + None } }