aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_kr.gnut
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-22 16:46:49 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-22 16:46:49 +0000
commitfb32cb1b780c1169a834c951bc0c928199a2b59e (patch)
treee2435cc869fed0fa3f7c3d187335d2350b8b1e14 /Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_kr.gnut
parentdade102a0d4d14ba5ee560022b8e2f1ddf960977 (diff)
downloadNorthstarMods-fb32cb1b780c1169a834c951bc0c928199a2b59e.tar.gz
NorthstarMods-fb32cb1b780c1169a834c951bc0c928199a2b59e.zip
playtest fixes
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 7a226e210..67ace6954 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++
}