From: Daniel Karbach Date: Tue, 7 May 2024 13:10:20 +0000 (+0200) Subject: allow 0 and 23 as GTBK guesses X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=76e2a3da33fc0cccbdb8864416bbb2a8684987ab;p=alttp.git allow 0 and 23 as GTBK guesses --- diff --git a/app/Models/Channel.php b/app/Models/Channel.php index c6dfb6a..f50c267 100644 --- a/app/Models/Channel.php +++ b/app/Models/Channel.php @@ -222,7 +222,7 @@ class Channel extends Model { $transformed = $this->transformGuess($solution); if ($this->guessing_type == 'gtbk') { $int_solution = intval($transformed); - return is_numeric($transformed) && $int_solution > 0 && $int_solution < 23; + return is_numeric($transformed) && $int_solution >= 0 && $int_solution <= 23; } return false; }