diff -r ef2592892432 -r 966ae86aac75 gameServer/Actions.hs --- a/gameServer/Actions.hs Fri Nov 06 01:26:32 2015 +0100 +++ b/gameServer/Actions.hs Fri Nov 06 01:29:22 2015 +0100 @@ -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)