share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua
changeset 10036 3be36d2fdca6
parent 8043 da083f8d95e6
child 11881 34ede05e4d4f
--- a/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua	Tue Jan 21 15:56:52 2014 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua	Tue Jan 21 18:02:37 2014 +0100
@@ -444,7 +444,9 @@
 
 function onGameInit()
 
-	GameFlags = band(bor(GameFlags, gfDivideTeams), bnot(gfKing + gfForts))
+	DisableGameFlags(gfKing, gfForts)
+	EnableGameFlags(gfDivideTeams)
+
 	--SuddenDeathTurns = 999 -- suddendeath is off, effectively
 	WaterRise = 0
 	Delay = 10