diff options
author | x3Karma <juliuslimck@gmail.com> | 2021-12-29 12:38:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-29 12:38:15 +0800 |
commit | 4210b5684c11538db59df1cd4a77e99423df4f4d (patch) | |
tree | f17a564d09e2f2b42412bae246dceaa774be756a | |
parent | e8f67265e817bdca167fbb9970327588501be580 (diff) | |
download | NorthstarMods-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.nut | 4 |
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 +} |