aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/scripts/vscripts/gamemodes/_gamemode_ctf.nut
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-12 19:44:25 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-12 19:44:25 +0100
commit1c1d36fad84687a93a629525145c557f78cbf673 (patch)
treedad9279353a0b492349778a926dbc94a34762667 /Northstar.CustomServers/scripts/vscripts/gamemodes/_gamemode_ctf.nut
parentba41749cc6a6693f11a7f1c7535ff758a461a424 (diff)
downloadNorthstarMods-1c1d36fad84687a93a629525145c557f78cbf673.tar.gz
NorthstarMods-1c1d36fad84687a93a629525145c557f78cbf673.zip
lots of general fixes
Diffstat (limited to 'Northstar.CustomServers/scripts/vscripts/gamemodes/_gamemode_ctf.nut')
-rw-r--r--Northstar.CustomServers/scripts/vscripts/gamemodes/_gamemode_ctf.nut4
1 files changed, 2 insertions, 2 deletions
diff --git a/Northstar.CustomServers/scripts/vscripts/gamemodes/_gamemode_ctf.nut b/Northstar.CustomServers/scripts/vscripts/gamemodes/_gamemode_ctf.nut
index f34907307..728d742df 100644
--- a/Northstar.CustomServers/scripts/vscripts/gamemodes/_gamemode_ctf.nut
+++ b/Northstar.CustomServers/scripts/vscripts/gamemodes/_gamemode_ctf.nut
@@ -457,7 +457,7 @@ void function OnPlayerEntersFlagReturnTrigger( entity trigger, entity player )
else
flag = file.militiaFlag
- if ( !player.IsPlayer() || !player.IsTitan() || player.GetTeam() != flag.GetTeam() || IsFlagHome( flag ) || flag.GetParent() != null )
+ if ( !player.IsPlayer() || player.IsTitan() || player.GetTeam() != flag.GetTeam() || IsFlagHome( flag ) || flag.GetParent() != null )
return
thread TryReturnFlag( player, flag )
@@ -471,7 +471,7 @@ void function OnPlayerExitsFlagReturnTrigger( entity trigger, entity player )
else
flag = file.militiaFlag
- if ( !player.IsPlayer() || !player.IsTitan() || player.GetTeam() != flag.GetTeam() || IsFlagHome( flag ) || flag.GetParent() != null )
+ if ( !player.IsPlayer() || player.IsTitan() || player.GetTeam() != flag.GetTeam() || IsFlagHome( flag ) || flag.GetParent() != null )
return
player.Signal( "FlagReturnEnded" )