diff --git a/sys/src/games/glendy.c b/sys/src/games/glendy.c index 753bd0a55..b7cc8bbd4 100644 --- a/sys/src/games/glendy.c +++ b/sys/src/games/glendy.c @@ -349,6 +349,7 @@ score1(int x, int y) { if(next < min) min = next; } + if(min == 999) return 998; return 1+min; }