aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/gamemodes
diff options
context:
space:
mode:
authorRoyalBlue1 <malte.hoermeyer@web.de>2022-01-12 19:05:11 +0100
committerBarichello <artur@barichello.me>2022-01-16 16:00:13 -0300
commitc7f31d6800a13780901d26bec957374322d3716e (patch)
tree7586ca335a6ac0451dffd8c2a2bcea030efd4ae5 /Northstar.CustomServers/mod/scripts/vscripts/gamemodes
parent65d4ddb623b900fc641ceb71b376edd5ed5c0804 (diff)
downloadNorthstarMods-c7f31d6800a13780901d26bec957374322d3716e.tar.gz
NorthstarMods-c7f31d6800a13780901d26bec957374322d3716e.zip
Scoring block when point is contested
Not Playtested
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/gamemodes')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_cp.nut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_cp.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_cp.nut
index 8ea8959b0..ebccee1bf 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_cp.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_cp.nut
@@ -359,7 +359,7 @@ void function HardpointThink( HardpointStruct hardpoint )
// scoring
- if ( hardpointEnt.GetTeam() != TEAM_UNASSIGNED && GetHardpointState( hardpoint ) >= CAPTURE_POINT_STATE_CAPTURED && currentTime - lastScoreTime >= TEAM_OWNED_SCORE_FREQ )
+ if ( hardpointEnt.GetTeam() != TEAM_UNASSIGNED && GetHardpointState( hardpoint ) >= CAPTURE_POINT_STATE_CAPTURED && currentTime - lastScoreTime >= TEAM_OWNED_SCORE_FREQ && !hardpointBlocked&&cappingTeam==GetOtherTeam(hardpointEnt.GetTeam()))
{
lastScoreTime = currentTime