share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 15407 1028f5606b5f
parent 15405 06524f2e9a74
child 15408 e347c3508f95
--- a/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua	Sun Sep 15 15:20:35 2019 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua	Sun Sep 15 15:42:50 2019 +0200
@@ -610,6 +610,8 @@
 
 function onGameInit()
         EnableGameFlags(gfInfAttack)
+        -- Force-disable various game flags that would break the script
+        DisableGameFlags(gfKing, gfSwitchHog, gfAISurvival, gfPlaceHog, gfTagTeam)
         CaseFreq = 0
         TurnTime = 90000
         WaterRise = 0