mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
changed to an or operand
This commit is contained in:
parent
6535deae9c
commit
4803ee5c81
@ -436,8 +436,8 @@ pub fn handle_destroy(server: &mut Server, entity: EcsEntity, cause: HealthSourc
|
||||
.create_object(comp::Pos(pos.0 + Vec3::unit_z() * 0.25), match old_body {
|
||||
Some(common::comp::Body::Humanoid(_)) => object::Body::Pouch,
|
||||
Some(common::comp::Body::Golem(_)) => object::Body::Chest,
|
||||
Some(common::comp::Body::BipedLarge(_)) => object::Body::MeatDrop,
|
||||
Some(common::comp::Body::QuadrupedLow(_)) => object::Body::MeatDrop,
|
||||
Some(common::comp::Body::BipedLarge(_))
|
||||
| Some(common::comp::Body::QuadrupedLow(_)) => object::Body::MeatDrop,
|
||||
_ => object::Body::Steak,
|
||||
})
|
||||
.with(item)
|
||||
|
Loading…
Reference in New Issue
Block a user