share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua
changeset 10044 33e64afccd3b
parent 10036 3be36d2fdca6
child 11881 34ede05e4d4f
--- a/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua	Tue Jan 21 23:46:48 2014 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua	Tue Jan 21 23:53:26 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