This commit is contained in:
Jeroen De Meerleer 2019-03-19 20:42:37 +01:00
parent 3f44bc6f01
commit 728c25961d
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -105,7 +105,7 @@ class Tournament extends TournamentModel
$game->setResult(new Gameresult("0-1")); break; $game->setResult(new Gameresult("0-1")); break;
case Result::absent: case Result::absent:
$game->setResult(new Gameresult("0-1FF")); break; $game->setResult(new Gameresult("0-1FF")); break;
case Result::adjourn: case Result::adjourned:
$game->setResult(new Gameresult("0-1A")); break; $game->setResult(new Gameresult("0-1A")); break;
case Result::draw: case Result::draw:
$game->setResult(new Gameresult("0.5-0.5")); break; $game->setResult(new Gameresult("0.5-0.5")); break;
@ -131,7 +131,7 @@ class Tournament extends TournamentModel
$game->setResult(new Gameresult("1-0")); break; $game->setResult(new Gameresult("1-0")); break;
case Result::absent: case Result::absent:
$game->setResult(new Gameresult("1-0FF")); break; $game->setResult(new Gameresult("1-0FF")); break;
case Result::adjourn: case Result::adjourned:
$game->setResult(new Gameresult("1-0A")); break; $game->setResult(new Gameresult("1-0A")); break;
case Result::draw: case Result::draw:
$game->setResult(new Gameresult("0.5-0.5")); break; $game->setResult(new Gameresult("0.5-0.5")); break;