diff --git a/dScripts/02_server/Map/General/ExplodingAsset.cpp b/dScripts/02_server/Map/General/ExplodingAsset.cpp index 54ae4207..bba56f0c 100644 --- a/dScripts/02_server/Map/General/ExplodingAsset.cpp +++ b/dScripts/02_server/Map/General/ExplodingAsset.cpp @@ -49,7 +49,7 @@ void ExplodingAsset::OnHit(Entity* self, Entity* attacker) { if (!self->GetBoolean(u"bIsHit")) { for (const auto objID : proximityComponent->GetProximityObjects("crateHitters")) { auto* const entity = Game::entityManager->GetEntity(objID); - if (!entity || !entity->IsPlayer()) continue; + if (!entity || entity->GetObjectID() != attacker->GetObjectID()) continue; auto* const destroyable = entity->GetComponent(); if (destroyable) destroyable->Smash(attacker->GetObjectID());