Prevent workshops destroying their neighbours

This commit is contained in:
Joshua Barretto 2022-01-27 19:37:24 +00:00
parent 692855198e
commit e329100455

View File

@ -52,8 +52,8 @@ impl Structure for Workshop {
painter
.aabb(Aabb {
min: self.bounds.min.with_z(base),
max: self.bounds.max.with_z(roof),
min: (self.bounds.min + 2).with_z(base),
max: (self.bounds.max - 2).with_z(roof),
})
.clear();