aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/gamemodes
diff options
context:
space:
mode:
authorx3Karma <juliuslimck@gmail.com>2021-12-29 12:41:17 +0800
committerGitHub <noreply@github.com>2021-12-29 12:41:17 +0800
commit562e32f038ea28523800ceae51cba491f5beb8b8 (patch)
tree675362413a58d6ee2bc265acf2db987b3f06eac4 /Northstar.CustomServers/mod/scripts/vscripts/gamemodes
parenta140de989935cdb5a56605a0f539ed7e473de62d (diff)
parent4210b5684c11538db59df1cd4a77e99423df4f4d (diff)
downloadNorthstarMods-562e32f038ea28523800ceae51cba491f5beb8b8.tar.gz
NorthstarMods-562e32f038ea28523800ceae51cba491f5beb8b8.zip
Merge pull request #4 from x3Karma/patch-4
Stop Titan Brawl from scoring during the epilogue if tits turned on lol
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/gamemodes')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ttdm.nut4
1 files changed, 2 insertions, 2 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ttdm.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ttdm.nut
index 9e5d95ba..82b673d2 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ttdm.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ttdm.nut
@@ -69,8 +69,8 @@ void function PlayerWatchesTTDMIntroIntermissionCam( entity player )
void function AddTeamScoreForPlayerKilled( entity victim, entity attacker, var damageInfo )
{
- if ( victim == attacker || !victim.IsPlayer() || !attacker.IsPlayer() )
+ if ( victim == attacker || !victim.IsPlayer() || !attacker.IsPlayer() || GetGameState() != eGameState.Playing )
return
AddTeamScore( GetOtherTeam( victim.GetTeam() ), 1 )
-} \ No newline at end of file
+}