summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/xobox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c
index 0a8b5b1..33ef4d0 100644
--- a/apps/plugins/xobox.c
+++ b/apps/plugins/xobox.c
@@ -785,7 +785,7 @@ static inline void move_board (void)
player.i = newi;
player.j = newj;
}
- if (percentage_cache > difficulty) { /* finished level */
+ if (percentage_cache >= difficulty) { /* finished level */
rb->splash (HZ * 2, "Level %d finished", player.level+1);
player.score += percentage_cache;
if (player.level < MAX_LEVEL)