summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-02-05 04:35:02 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2013-02-05 04:36:57 (GMT)
commit571c9eed1aea48784b17cbbf109927d803851929 (patch)
tree66b1699bb072e520b5643eac40d82e5b529279cd
parent15bd8ff2bf17e4bc0265aa0fc1394f849157eeb6 (diff)
downloadgrv-571c9eed1aea48784b17cbbf109927d803851929.zip
grv-571c9eed1aea48784b17cbbf109927d803851929.tar.gz
grv-571c9eed1aea48784b17cbbf109927d803851929.tar.bz2
grv-571c9eed1aea48784b17cbbf109927d803851929.tar.xz
highscore: after downloading high scores, update local copygrv-2003.9
After spending time downloading high scores from the server, update the local copy, too.
-rw-r--r--highscore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/highscore.c b/highscore.c
index 77a8664..9c52374 100644
--- a/highscore.c
+++ b/highscore.c
@@ -44,6 +44,8 @@ void highscore_download(void)
highscore_parse(n, 0);
fclose(n);
+
+ highscore_save();
}
void highscore_save(void)