--- a/gameServer/Actions.hs Sun Oct 25 20:40:27 2015 +0100
+++ b/gameServer/Actions.hs Tue Oct 27 23:04:15 2015 +0300
@@ -757,15 +757,15 @@
processAction (CheckFailed msg) = do
- Just (CheckInfo fileName _) <- client's checkInfo
+ Just (CheckInfo fileName _ _) <- client's checkInfo
io $ moveFailedRecord fileName
processAction (CheckSuccess info) = do
- Just (CheckInfo fileName teams) <- client's checkInfo
+ Just (CheckInfo fileName teams script) <- client's checkInfo
p <- client's clientProto
si <- gets serverInfo
- io $ writeChan (dbQueries si) $ StoreAchievements p (B.pack fileName) (map toPair teams) info
+ io $ writeChan (dbQueries si) $ StoreAchievements p (B.pack fileName) (map toPair teams) script info
io $ moveCheckedRecord fileName
where
toPair t = (teamname t, teamowner t)