share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 15402 1028f5606b5f
parent 15400 06524f2e9a74
child 15403 e347c3508f95
equal deleted inserted replaced
15401:bf49f26b1fa9 15402:1028f5606b5f
   608 -- GAME METHODS / EVENT HANDLERS
   608 -- GAME METHODS / EVENT HANDLERS
   609 ----------------------------------
   609 ----------------------------------
   610 
   610 
   611 function onGameInit()
   611 function onGameInit()
   612         EnableGameFlags(gfInfAttack)
   612         EnableGameFlags(gfInfAttack)
       
   613         -- Force-disable various game flags that would break the script
       
   614         DisableGameFlags(gfKing, gfSwitchHog, gfAISurvival, gfPlaceHog, gfTagTeam)
   613         CaseFreq = 0
   615         CaseFreq = 0
   614         TurnTime = 90000
   616         TurnTime = 90000
   615         WaterRise = 0
   617         WaterRise = 0
   616         HealthDecrease = 0
   618         HealthDecrease = 0
   617 
   619