aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_kr.gnut
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_kr.gnut')
-rw-r--r--Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_kr.gnut3
1 files changed, 2 insertions, 1 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_kr.gnut b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_kr.gnut
index 7a226e21..67ace695 100644
--- a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_kr.gnut
+++ b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_kr.gnut
@@ -16,6 +16,7 @@ void function GamemodeKR_Init()
ClassicMP_ForceDisableEpilogue( true )
Riff_ForceTitanAvailability( eTitanAvailability.Never )
Riff_ForceBoostAvailability( eBoostAvailability.Disabled )
+ ScoreEvent_SetupEarnMeterValuesForMixedModes()
AddSpawnCallback( "info_hardpoint", AddFlagSpawnPoint )
@@ -40,7 +41,7 @@ void function OnPlayerKilled( entity victim, entity attacker, var damageInfo )
attacker.SetPlayerNetTime( "killRaceTime", killRaceTime )
if ( killRaceTime > file.currentHighestKillraceAmount )
file.currentHighestKillraceAmount = killRaceTime
- if ( file.currentRacer != null )
+ if ( file.currentRacer != null && attacker == file.currentRacer )
file.currentKillraceScore++
}