diff --git a/src/Entities/ProjectileEntity.cpp b/src/Entities/ProjectileEntity.cpp index 2f90a56cb..fb7da85a1 100644 --- a/src/Entities/ProjectileEntity.cpp +++ b/src/Entities/ProjectileEntity.cpp @@ -413,6 +413,10 @@ void cProjectileEntity::HandlePhysics(std::chrono::milliseconds a_Dt, cChunk & a ); OnHitEntity(*(EntityCollisionCallback.GetHitEntity()), HitPos); + if (!IsTicking()) + { + return; // We were destroyed by an override of OnHitEntity + } } // TODO: Test the entities in the neighboring chunks, too