aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_cp.nut6
1 files changed, 3 insertions, 3 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_cp.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_cp.nut
index 0d45fb1b..8ea8959b 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_cp.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_cp.nut
@@ -182,7 +182,7 @@ void function HardpointThink( HardpointStruct hardpoint )
if(p.IsTitan()){
imcTitanCappers = imcTitanCappers + 1
}
- else if(!p.IsHologram())
+ else if(p.IsPlayer())
{
imcPilotCappers = imcPilotCappers + 1
}
@@ -196,7 +196,7 @@ void function HardpointThink( HardpointStruct hardpoint )
militiaTitanCappers = militiaTitanCappers + 1
}
- else if(!p.IsHologram())
+ else if(p.IsPlayer())
{
militiaPilotCappers = militiaPilotCappers + 1
@@ -435,4 +435,4 @@ void function OnHardpointLeft( entity trigger, entity player )
hardpoint.imcCappers.remove( hardpoint.imcCappers.find( player ) )
else
hardpoint.militiaCappers.remove( hardpoint.militiaCappers.find( player ) )
-} \ No newline at end of file
+}