aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorx3Karma <juliuslimck@gmail.com>2021-12-29 12:38:15 +0800
committerGitHub <noreply@github.com>2021-12-29 12:38:15 +0800
commit4210b5684c11538db59df1cd4a77e99423df4f4d (patch)
treef17a564d09e2f2b42412bae246dceaa774be756a
parente8f67265e817bdca167fbb9970327588501be580 (diff)
downloadNorthstarMods-4210b5684c11538db59df1cd4a77e99423df4f4d.tar.gz
NorthstarMods-4210b5684c11538db59df1cd4a77e99423df4f4d.zip
Stop Titan Brawl from scoring during the epilogue if tits turned on lol
-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 9e5d95bac..82b673d2a 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
+}