From 2f73d0da9311a8610fe3f7926ecbd0f82ab8896d Mon Sep 17 00:00:00 2001 From: Bruce Cowan <bruce@bcowan.me.uk> Date: Wed, 3 Feb 2021 10:39:54 +0000 Subject: [PATCH] Set property limits to score limit Theoretically, all score types could be set to 1 point --- src/rugby-possibility.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rugby-possibility.c b/src/rugby-possibility.c index 62f62cc..08d4ad3 100644 --- a/src/rugby-possibility.c +++ b/src/rugby-possibility.c @@ -87,15 +87,15 @@ rugby_possibility_class_init (RugbyPossibilityClass *klass) properties[PROP_TRIES] = g_param_spec_int ("tries", "Tries", "Converted tries", - 0, 28, 0, + 0, 200, 0, G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE); properties[PROP_UTRIES] = g_param_spec_int ("utries", "Utries", "Unconverted tries", - 0, 40, 0, + 0, 200, 0, G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE); properties[PROP_KICKS] = g_param_spec_int ("kicks", "Kicks", "Penalties and drop goals", - 0, 66, 0, + 0, 200, 0, G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE); g_object_class_install_properties (object_class, -- GitLab