share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 15402 1028f5606b5f
parent 15400 06524f2e9a74
child 15403 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