aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDBmaoha <56738369+DBmaoha@users.noreply.github.com>2023-07-10 03:24:54 +0800
committerGitHub <noreply@github.com>2023-07-09 21:24:54 +0200
commitaf8f5cdfb05face11659f26ea79cf8b6139c544b (patch)
treebdc557be584a424c4e119a88de4646e0f236ae19
parent77ef26e748fa66e2b94a31889029c7b477dd6826 (diff)
downloadNorthstarMods-af8f5cdfb05face11659f26ea79cf8b6139c544b.tar.gz
NorthstarMods-af8f5cdfb05face11659f26ea79cf8b6139c544b.zip
[FW] Fix Scoreboard Sorting (#622)
add missing GameMode_SetScoreCompareFunc() for fw
-rw-r--r--Northstar.Custom/mod/scripts/vscripts/gamemodes/sh_gamemode_fw_custom.nut1
1 files changed, 1 insertions, 0 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/gamemodes/sh_gamemode_fw_custom.nut b/Northstar.Custom/mod/scripts/vscripts/gamemodes/sh_gamemode_fw_custom.nut
index d999bb4c5..be93193df 100644
--- a/Northstar.Custom/mod/scripts/vscripts/gamemodes/sh_gamemode_fw_custom.nut
+++ b/Northstar.Custom/mod/scripts/vscripts/gamemodes/sh_gamemode_fw_custom.nut
@@ -69,6 +69,7 @@ void function CreateGamemodeFW()
GameMode_AddClientInit( FORT_WAR, CLGamemodeFW_Init )
#endif
#if !UI
+ GameMode_SetScoreCompareFunc( FORT_WAR, CompareAssaultScore )
GameMode_AddSharedInit( FORT_WAR, SHGamemodeFW_Init )
#endif
}