Need to calculate with value

This commit is contained in:
Jeroen De Meerleer 2023-01-24 10:31:12 +01:00
parent 466bb2bfec
commit 2d9fbe8433
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -87,8 +87,8 @@ class Game
$whiteResult = $this->White->Result;
$blackResult = $this->Black->Result;
$whitesplit = explode(" ", $whiteResult);
$blacksplit = explode(" ", $blackResult);
$whitesplit = explode(" ", $whiteResult->value);
$blacksplit = explode(" ", $blackResult->value);
$special = '';
if (isset($whitesplit[ 1 ]) && $whitesplit[ 1 ] != 'Bye') {