equal
deleted
inserted
replaced
242 bazookaGears[gear] = nil |
242 bazookaGears[gear] = nil |
243 if bazookasInGame == 0 and GetAmmoCount(hog, amBazooka) == 0 then |
243 if bazookasInGame == 0 and GetAmmoCount(hog, amBazooka) == 0 then |
244 limitedAmmoReset = 20 |
244 limitedAmmoReset = 20 |
245 flawless = false |
245 flawless = false |
246 end |
246 end |
247 elseif gear == hog then |
|
248 SendStat(siCustomAchievement, loc("Your hedgehog died.")) |
|
249 SendStat(siCustomAchievement, loc("Oh no! Just try again!")) |
|
250 SendStat(siGameResult, loc("You lose!")) |
|
251 SendStat(siPlayerKills, "0", loc("Bazooka Team")) |
|
252 EndGame() |
|
253 gameOver = true |
|
254 end |
247 end |
255 end |
248 end |
256 |
249 |
257 function onGearDamage(gear) |
250 function onGearDamage(gear) |
258 if gear == hog then |
251 if gear == hog then |