Blueprint Apply Damage Fires Twice From Client

Hello,

I am making a multiplayer game and I want to apply radial damage through bomb explosion. It works as intended in single player and if I am playing as the server, but the moment I play as the client, any damage I do from thrown bombs is being done twice. So instead of dealing 20 damage, it deals 40, etc. I tried multiple methods in an attempt to fix it but could not figure it out. Any help would be appreciated!

The bomb is being “thrown” through a projectile component when it spawns

“OnComponentHit” is called on everyone, so if you have 1 client and 1 server, your event “ApplyRadialDamage” will be called twice. Adding a “SwitchHasAuthority” node right after “OnComponentHit” should solve the issue.

Worked like a charm thank you! :slight_smile: