share/hedgewars/Data/Maps/TrophyRace/map.lua
branch0.9.19
changeset 9135 151c8e553de2
parent 9093 4114ce5d885d
child 9138 9e94a9bc8c7e
--- a/share/hedgewars/Data/Maps/TrophyRace/map.lua	Tue Jun 11 11:48:36 2013 +0200
+++ 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