changeset 11620 | d5b205f00ac7 |
parent 11618 | 66880a42c2d7 |
child 11628 | 515d2d38ab8b |
--- a/share/hedgewars/Data/Maps/ClimbHome/map.lua Tue Mar 22 11:59:31 2016 -0400 +++ b/share/hedgewars/Data/Maps/ClimbHome/map.lua Thu Mar 24 14:40:59 2016 +0300 @@ -678,3 +678,9 @@ function getActualHeight(height) return 32640-height end + +function onAchievementsDeclaration() + for teamname, score in pairs(teamBests) do + DeclareAchievement("height reached", teamname, "ClimbHome", score) + end +end