--- a/gameServer/OfficialServer/extdbinterface.hs Sat Feb 27 18:02:24 2016 +0300
+++ b/gameServer/OfficialServer/extdbinterface.hs Sat Feb 27 18:15:53 2016 +0300
@@ -64,7 +64,7 @@
dbQueryReplayFilename = "SELECT filename FROM achievements WHERE id = ?"
-dbQueryBestTime = "SELECT MIN(value) FROM achievements WHERE location = ?"
+dbQueryBestTime = "SELECT MIN(value) FROM achievements WHERE location = ? AND id <> (SELECT MAX(id) FROM achievements)"
dbInteractionLoop dbConn = forever $ do
q <- liftM read getLine