bug fix: system was recording "lost" before game was over.