Don't spawn enemies in boss room

This commit is contained in:
juliancoffee 2021-06-18 20:04:50 +03:00
parent 57649a2e90
commit 7bf8c67808

@ -541,7 +541,7 @@ impl Floor {
.map(|density| dynamic_rng.gen_range(0..density.recip() as usize) == 0)
.unwrap_or(false)
&& !tile_is_pillar
&& !(room.boss && room.difficulty == 5)
&& !room.boss
{
// Randomly displace them a little
let raw_entity = EntityInfo::at(