diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-12 19:44:25 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-12 19:44:25 +0100 |
commit | 1c1d36fad84687a93a629525145c557f78cbf673 (patch) | |
tree | dad9279353a0b492349778a926dbc94a34762667 /Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut | |
parent | ba41749cc6a6693f11a7f1c7535ff758a461a424 (diff) | |
download | NorthstarMods-1c1d36fad84687a93a629525145c557f78cbf673.tar.gz NorthstarMods-1c1d36fad84687a93a629525145c557f78cbf673.zip |
lots of general fixes
Diffstat (limited to 'Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut')
-rw-r--r-- | Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut b/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut index 99a5ccf77..bd9b695a1 100644 --- a/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut +++ b/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut @@ -32,7 +32,7 @@ void function OnPlayerRespawned_Threaded( entity player ) void function OnPlayerKilled( entity victim, entity attacker, var damageInfo ) { - if ( !victim.IsPlayer() || !attacker.IsPlayer() ) + if ( !victim.IsPlayer() || !attacker.IsPlayer() || GetGameState() != eGameState.Playing ) return if ( attacker == victim ) // suicide |