Explosion Kills People in Spectator DM But Not People Alive.

Hi there.

As the title says, I’m having a problem with a SWEP that I’ve created. It’s a trip mine of sorts. Anyway, it works and everything is good with it, other than the fact that it collides with Spectator Deathmatch.

When the Traitor throws down the mine it can be armed and it works great with people alive. I’ve made sure in the code that nobody spectating or in the deathmatch can trigger the mine. However, if the Traitor that placed the mine dies and goes to Spectator Deathmatch, if somebody who is alive triggers the mine it blows up and damages the people in the deathmatch, NOT the living people.

Anyone got any ideas?

I’ll post codes if you need them.

Please post code