aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-01 01:10:50 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-01 01:10:50 +0100
commitf76f3d6b4af02602e78a0cd49feb44c0ec467c1e (patch)
treed50986eabc15d67d74b02de173d4a11ba30748ff /Northstar.CustomServers/mod
parent06a014c34a9db28d6ef293e4edd25aa17c74181f (diff)
downloadNorthstarMods-f76f3d6b4af02602e78a0cd49feb44c0ec467c1e.tar.gz
NorthstarMods-f76f3d6b4af02602e78a0cd49feb44c0ec467c1e.zip
Update _gamemode_ctf.nut
Diffstat (limited to 'Northstar.CustomServers/mod')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut
index 28fe2d4b..714ac85a 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut
@@ -327,7 +327,7 @@ void function Flag_CapturedByPlayer( entity flag, entity player )
MessageToTeam( GetOtherTeam( player.GetTeam() ), eEventNotifications.PlayerCapturedFriendlyFlag, player, player )
EmitSoundOnEntityToTeam( flag, "UI_CTF_3P_EnemyScore", flag.GetTeam() )
- if ( GameRules_GetTeamScore( player.GetTeam() ) == GameMode_GetRoundScoreLimit( GAMETYPE ) - 1 )
+ if ( GameRules_GetTeamScore( player.GetTeam() ) == GetScoreLimit_FromPlaylist() - 1 )
{
PlayFactionDialogueToTeam( "ctf_notifyWin1more", player.GetTeam() )
PlayFactionDialogueToTeam( "ctf_notifyLose1more", GetOtherTeam( player.GetTeam() ) )