Need to calculate with value
This commit is contained in:
parent
466bb2bfec
commit
2d9fbe8433
@ -87,8 +87,8 @@ class Game
|
|||||||
$whiteResult = $this->White->Result;
|
$whiteResult = $this->White->Result;
|
||||||
$blackResult = $this->Black->Result;
|
$blackResult = $this->Black->Result;
|
||||||
|
|
||||||
$whitesplit = explode(" ", $whiteResult);
|
$whitesplit = explode(" ", $whiteResult->value);
|
||||||
$blacksplit = explode(" ", $blackResult);
|
$blacksplit = explode(" ", $blackResult->value);
|
||||||
|
|
||||||
$special = '';
|
$special = '';
|
||||||
if (isset($whitesplit[ 1 ]) && $whitesplit[ 1 ] != 'Bye') {
|
if (isset($whitesplit[ 1 ]) && $whitesplit[ 1 ] != 'Bye') {
|
||||||
|
Loading…
Reference in New Issue
Block a user