share/hedgewars/Data/Maps/TrophyRace/map.lua
changeset 9397 7b7ee65f82ad
parent 9093 4114ce5d885d
child 9138 9e94a9bc8c7e
--- a/share/hedgewars/Data/Maps/TrophyRace/map.lua	Sat Aug 17 14:10:09 2013 -0400
+++ b/share/hedgewars/Data/Maps/TrophyRace/map.lua	Tue Aug 06 00:26:07 2013 +0400
@@ -162,3 +162,9 @@
 --		
 --	end
 --end
+
+function onAchievementsDeclaration()
+    if besthog ~= nil then
+      DeclareAchievement("rope race", GetHogTeamName(besthog), besttime)
+    end
+end