share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 15142 651c1737be2a
parent 15074 e16f906224fd
child 15250 395563ffc8b5
equal deleted inserted replaced
15141:309aa93df110 15142:651c1737be2a
   864                         end
   864                         end
   865                         ShowMission(loc("Racer"),
   865                         ShowMission(loc("Racer"),
   866                         loc("Waypoint placement phase"), infoString, -amAirAttack, 4000)
   866                         loc("Waypoint placement phase"), infoString, -amAirAttack, 4000)
   867                         AddAmmo(CurrentHedgehog, amAirAttack, 4000)
   867                         AddAmmo(CurrentHedgehog, amAirAttack, 4000)
   868                         SetWeapon(amAirAttack)
   868                         SetWeapon(amAirAttack)
       
   869                         -- Bots skip waypoint placement
       
   870                         if GetHogLevel(CurrentHedgehog) ~= 0 then
       
   871                                 SkipTurn()
       
   872                         end
   869                 end
   873                 end
   870         end
   874         end
   871 
   875 
   872         -- Set the waypoints to unactive on new round
   876         -- Set the waypoints to unactive on new round
   873         if gameBegun and not gameOver then
   877         if gameBegun and not gameOver then