mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Prevent workshops destroying their neighbours
This commit is contained in:
parent
692855198e
commit
e329100455
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user