share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 10289 c3a77ff02a23
parent 10228 947cadb40bc5
child 10292 1c6639b49afc
equal deleted inserted replaced
10288:7bf02127262c 10289:c3a77ff02a23
   572                 else
   572                 else
   573                         ShowMission(loc("RACER"),
   573                         ShowMission(loc("RACER"),
   574                         loc("NOT ENOUGH WAYPOINTS"),
   574                         loc("NOT ENOUGH WAYPOINTS"),
   575                         loc("Place more waypoints using the 'Air Attack' weapon."), 2, 4000)
   575                         loc("Place more waypoints using the 'Air Attack' weapon."), 2, 4000)
   576                         AddAmmo(CurrentHedgehog, amAirAttack, 4000)
   576                         AddAmmo(CurrentHedgehog, amAirAttack, 4000)
   577             ParseCommand("setweap " .. string.char(amAirAttack))
   577             SetWeapon(amAirAttack)
   578                 end
   578                 end
   579         end
   579         end
   580 
   580 
   581         if gameOver == true then
   581         if gameOver == true then
   582                 gameBegun = false
   582                 gameBegun = false