From 65d4ddb623b900fc641ceb71b376edd5ed5c0804 Mon Sep 17 00:00:00 2001 From: RoyalBlue1 Date: Wed, 12 Jan 2022 00:05:10 +0100 Subject: Bug fix now only Players count as capper (ticks worked before) --- .../mod/scripts/vscripts/gamemodes/_gamemode_cp.nut | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Northstar.CustomServers/mod/scripts') 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 +} -- cgit v1.2.3