diff --git a/Fika.Core/Coop/Players/CoopPlayer.cs b/Fika.Core/Coop/Players/CoopPlayer.cs index 53c5f0b9..e1452424 100644 --- a/Fika.Core/Coop/Players/CoopPlayer.cs +++ b/Fika.Core/Coop/Players/CoopPlayer.cs @@ -235,7 +235,7 @@ public override GClass1688 ApplyShot(DamageInfo damageInfo, EBodyPart bodyPartTy return SimulatedApplyShot(damageInfo, bodyPartType, colliderType, armorPlateCollider, shotId); } - if (damageInfo.Player != null && damageInfo.Player.iPlayer is CoopBot) + if (damageInfo.Player?.iPlayer is CoopBot) { return SimulatedApplyShot(damageInfo, bodyPartType, colliderType, armorPlateCollider, shotId); }