Racer: Force-enable solid land
authorWuzzy <Wuzzy2@mail.ru>
Mon, 28 Oct 2019 18:58:13 +0100
changeset 15511 3c0a3c824c49
parent 15510 04b63bcdb2ab
child 15512 0039baa9895e
Racer: Force-enable solid land Otherwise, the land could degrade after each round, making the game progressively easier for later players
share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua	Mon Oct 28 18:52:11 2019 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua	Mon Oct 28 18:58:13 2019 +0100
@@ -613,7 +613,7 @@
 ----------------------------------
 
 function onGameInit()
-        EnableGameFlags(gfInfAttack)
+        EnableGameFlags(gfInfAttack, gfSolidLand)
         -- Force-disable various game flags that would break the script
         DisableGameFlags(gfKing, gfSwitchHog, gfAISurvival, gfPlaceHog, gfTagTeam)
         CaseFreq = 0