aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDBmaoha <56738369+DBmaoha@users.noreply.github.com>2023-07-10 03:24:54 +0800
committerGeckoEidechse <gecko.eidechse+git@pm.me>2023-07-11 01:32:49 +0200
commit730dcd27edbc7c411c9765d49384841e3a379070 (patch)
treea66b8262e32a8720e01ac3cf27832c6abe5570fe
parenteac2ad09eeb901486410ce8306bc6ff30f0b7f0f (diff)
downloadNorthstarMods-730dcd27edbc7c411c9765d49384841e3a379070.tar.gz
NorthstarMods-730dcd27edbc7c411c9765d49384841e3a379070.zip
[FW] Fix Scoreboard Sorting (#622)
add missing GameMode_SetScoreCompareFunc() for fw (cherry picked from commit af8f5cdfb05face11659f26ea79cf8b6139c544b)
-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
}