From 0c5e3c033aa4421e3c631f8ef2605aa90ef01c49 Mon Sep 17 00:00:00 2001
From: Bruce Cowan <bruce@bcowan.eu>
Date: Tue, 20 Mar 2018 13:28:05 +0000
Subject: [PATCH] Fix inner loop early termination

---
 src/rugby-scoring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rugby-scoring.c b/src/rugby-scoring.c
index 9d37712..454dbbb 100644
--- a/src/rugby-scoring.c
+++ b/src/rugby-scoring.c
@@ -34,7 +34,7 @@ rugby_scoring_get_possibilities (GListStore *store, gint score)
             gint left = score - (tries * TRY_POINTS) - (utries * UTRY_POINTS);
 
             if (left < 0)
-                continue;
+                break;
 
             if (left % KICK_POINTS == 0)
             {
-- 
GitLab