share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua
changeset 13103 cf2a58dccc4a
parent 13019 880662cf41ee
child 13104 e0ec37c8104d
--- a/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua	Thu Mar 08 01:12:35 2018 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua	Thu Mar 08 01:22:00 2018 +0100
@@ -461,7 +461,7 @@
 
 function onGameInit()
 
-	DisableGameFlags(gfKing)
+	DisableGameFlags(gfKing, gfAISurvival)
 	EnableGameFlags(gfDivideTeams)
 
 	-- Disable Sudden Death
@@ -523,6 +523,13 @@
 
 	--SetVisualGearValues(zxc, 1000,1000, 20, 255, 1,    10,                     0,         200,        1,      GetClanColor(0))
 					--minO,max0 -glowyornot	--pulsate timer	 -- fuckall      -- radius -- width  -- colour
+	for h=1, numhhs do
+		-- Tardis causes too many unexpected situations, so we forbid it
+		AddAmmo(hhs[h], amTardis, 0)
+		-- Hogs are resurrected for free, so this is pointless
+		AddAmmo(hhs[h], amResurrector, 0)
+	end
+
 end