share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 15489 3c0a3c824c49
parent 15488 04b63bcdb2ab
child 15788 acf70c44065b
equal deleted inserted replaced
15488:04b63bcdb2ab 15489:3c0a3c824c49
   611 ----------------------------------
   611 ----------------------------------
   612 -- GAME METHODS / EVENT HANDLERS
   612 -- GAME METHODS / EVENT HANDLERS
   613 ----------------------------------
   613 ----------------------------------
   614 
   614 
   615 function onGameInit()
   615 function onGameInit()
   616         EnableGameFlags(gfInfAttack)
   616         EnableGameFlags(gfInfAttack, gfSolidLand)
   617         -- Force-disable various game flags that would break the script
   617         -- Force-disable various game flags that would break the script
   618         DisableGameFlags(gfKing, gfSwitchHog, gfAISurvival, gfPlaceHog, gfTagTeam)
   618         DisableGameFlags(gfKing, gfSwitchHog, gfAISurvival, gfPlaceHog, gfTagTeam)
   619         CaseFreq = 0
   619         CaseFreq = 0
   620         WaterRise = 0
   620         WaterRise = 0
   621         HealthDecrease = 0
   621         HealthDecrease = 0