equal
deleted
inserted
replaced
114 |
114 |
115 function onNewTurn() |
115 function onNewTurn() |
116 if not hero.dead and CurrentHedgehog == ally.gear and challengeStarted then |
116 if not hero.dead and CurrentHedgehog == ally.gear and challengeStarted then |
117 heroLost() |
117 heroLost() |
118 elseif not hero.dead and CurrentHedgehog == hero.gear and challengeStarted then |
118 elseif not hero.dead and CurrentHedgehog == hero.gear and challengeStarted then |
119 ParseCommand("setweap " .. string.char(amJetpack)) |
119 SetWeapon(amJetpack) |
120 end |
120 end |
121 end |
121 end |
122 |
122 |
123 function onGameTick() |
123 function onGameTick() |
124 AnimUnWait() |
124 AnimUnWait() |