changeset 14464 | ead8928a59f8 |
parent 14403 | 8af01d65ccda |
child 14475 | 2113296b7a29 |
14463:bd1db668b7c0 | 14464:ead8928a59f8 |
---|---|
240 end |
240 end |
241 |
241 |
242 SendStat(siCustomAchievement, string.format(loc("You saved %d of 8 Hapless Hogs."), hhLeft)) |
242 SendStat(siCustomAchievement, string.format(loc("You saved %d of 8 Hapless Hogs."), hhLeft)) |
243 |
243 |
244 if hhLeft == 8 then |
244 if hhLeft == 8 then |
245 SaveMissionVar("Won", "true") |
|
245 awardAchievement(loc("Lively Lifeguard")) |
246 awardAchievement(loc("Lively Lifeguard")) |
246 end |
247 end |
247 EndGame() |
248 EndGame() |
248 |
249 |
249 end |
250 end |