diff options
author | RoyalBlue1 <malte.hoermeyer@web.de> | 2022-01-12 00:05:10 +0100 |
---|---|---|
committer | Barichello <artur@barichello.me> | 2022-01-16 16:00:13 -0300 |
commit | 65d4ddb623b900fc641ceb71b376edd5ed5c0804 (patch) | |
tree | 5167f0668b3555d0abe40cc63ea6462f8e03912b /Northstar.CustomServers/mod/scripts/vscripts | |
parent | a515e16dea086f6a32afb995061e8d4cef463201 (diff) | |
download | NorthstarMods-65d4ddb623b900fc641ceb71b376edd5ed5c0804.tar.gz NorthstarMods-65d4ddb623b900fc641ceb71b376edd5ed5c0804.zip |
Bug fix
now only Players count as capper (ticks worked before)
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_cp.nut | 6 |
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 +} |