aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers
diff options
context:
space:
mode:
authorBarichello <artur@barichello.me>2022-02-20 00:57:44 -0300
committerBarichello <artur@barichello.me>2022-02-20 00:57:44 -0300
commitc2d7b22d67a76ebacb4b1c80452a693c56c0ab21 (patch)
treed3b429e0cb241363eab26fb933590a153b21c7cb /Northstar.CustomServers
parent69337fcc74afb7cffc3021053bf69a09dc28e6ee (diff)
downloadNorthstarMods-c2d7b22d67a76ebacb4b1c80452a693c56c0ab21.tar.gz
NorthstarMods-c2d7b22d67a76ebacb4b1c80452a693c56c0ab21.zip
Update hardpoint pilot cap strength
Diffstat (limited to 'Northstar.CustomServers')
-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 06b99cd7..74e6b58c 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_cp.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_cp.nut
@@ -400,7 +400,7 @@ void function SetCapperAmount( table<int, table<string, int> > capStrength, arra
{
capStrength[p.GetTeam()]["titans"] += 1
}
- else
+ else if ( p.IsPlayer() )
{
capStrength[p.GetTeam()]["pilots"] += 1
}