From 98c679786721220cde4d8fb33cda4d0d8e1b1be6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Schm=C3=B6cker?= <robinyyy@t-online.de> Date: Sat, 7 Jan 2023 19:41:46 +0000 Subject: [PATCH] Added new Title. If this title does not get accepted we should think about an alternative because some are about to reach the 2^21 threshold. --- lib/classes/Score.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/classes/Score.class.php b/lib/classes/Score.class.php index 1a1b5d91622..3de97147f48 100644 --- a/lib/classes/Score.class.php +++ b/lib/classes/Score.class.php @@ -81,8 +81,8 @@ class Score $logscore = 0; } - if ($logscore > 20) { - $logscore = 20; + if ($logscore > 21) { + $logscore = 21; } $titel = []; @@ -107,6 +107,7 @@ class Score $titel[18] = [_('Lichtgestalt'), _('Lichtgestalt')]; $titel[19] = [_('Halbgott'), _('Halbgöttin')]; $titel[20] = [_('Gott'), _('Göttin')]; + $titel[21] = [_('Primum Movens'), _('Primum Movens')]; return $titel[$logscore][$gender == 2 ? 1 : 0]; } -- GitLab