share/hedgewars/Data/Maps/TrophyRace/map.lua
changeset 10289 c3a77ff02a23
parent 9685 7d925e82e572
child 11180 1750a1ce7131
equal deleted inserted replaced
10288:7bf02127262c 10289:c3a77ff02a23
    99     startTime = 0
    99     startTime = 0
   100     reached = false
   100     reached = false
   101     if CurrentHedgehog ~= nil then
   101     if CurrentHedgehog ~= nil then
   102         SetGearVelocity(CurrentHedgehog, 1, 0)
   102         SetGearVelocity(CurrentHedgehog, 1, 0)
   103         SetGearPosition(CurrentHedgehog, start_area[1] + start_area[3] / 2, start_area[2] + start_area[4] / 2)
   103         SetGearPosition(CurrentHedgehog, start_area[1] + start_area[3] / 2, start_area[2] + start_area[4] / 2)
   104         ParseCommand("setweap " .. string.char(amRope))
   104         SetWeapon(amRope)
   105         lasthog = CurrentHedgehog
   105         lasthog = CurrentHedgehog
   106     end
   106     end
   107 end
   107 end
   108 
   108 
   109 function onGameTick()
   109 function onGameTick()