aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut4
1 files changed, 3 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut
index 97addc24..6033940b 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut
@@ -123,7 +123,9 @@ void function CreateFlags()
file.imcFlagSpawn.Destroy()
file.imcFlag.Destroy()
file.imcFlagReturnTrigger.Destroy()
-
+ }
+ if ( IsValid( file.militiaFlagSpawn ) )
+ {
file.militiaFlagSpawn.Destroy()
file.militiaFlag.Destroy()
file.militiaFlagReturnTrigger.Destroy()