Index: apps/plugins/lib/highscore.c =================================================================== --- apps/plugins/lib/highscore.c (Revision 21877) +++ apps/plugins/lib/highscore.c (Arbeitskopie) @@ -21,8 +21,13 @@ #include "plugin.h" #include "highscore.h" +static bool highest_updated = false; + int highscore_save(char *filename, struct highscore *scores, int num_scores) { + if (!highest_updated) { + return 1; + } int i; int fd; int rc; @@ -102,6 +107,7 @@ entry->level = level; rb->strlcpy(entry->name, name, sizeof(entry->name)); + highest_updated = true; return pos; }