Trick on storage format to simplify sql queries
authorunC0Rr
Tue, 29 Mar 2016 11:16:54 +0300
changeset 11627 221691bede23
parent 11626 6225dfeba347
child 11628 a9ad5b6fc7f7
Trick on storage format to simplify sql queries
share/hedgewars/Data/Maps/ClimbHome/map.lua
--- a/share/hedgewars/Data/Maps/ClimbHome/map.lua	Tue Mar 29 09:00:12 2016 +0200
+++ b/share/hedgewars/Data/Maps/ClimbHome/map.lua	Tue Mar 29 11:16:54 2016 +0300
@@ -685,6 +685,6 @@
 
 function onAchievementsDeclaration()
     for teamname, score in pairs(teamBests) do
-        DeclareAchievement("height reached", teamname, "ClimbHome", score)
+        DeclareAchievement("height reached", teamname, "ClimbHome", -score)
     end
 end