share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 15158 651c1737be2a
parent 15090 e16f906224fd
child 15266 395563ffc8b5
equal deleted inserted replaced
15157:309aa93df110 15158: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