From 4803ee5c8102843eaa2a97fed4c72c0499fea101 Mon Sep 17 00:00:00 2001 From: AlKabir <7501421-frrleone@users.noreply.gitlab.com> Date: Sat, 7 Nov 2020 23:37:15 -0600 Subject: [PATCH] changed to an or operand --- server/src/events/entity_manipulation.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/events/entity_manipulation.rs b/server/src/events/entity_manipulation.rs index 2062cbe826..bc4ed8c6ba 100644 --- a/server/src/events/entity_manipulation.rs +++ b/server/src/events/entity_manipulation.rs @@ -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)