mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-12-23 12:50:59 +01:00
Compare commits
2 Commits
3108c28725
...
9c7deea8ca
Author | SHA1 | Date | |
---|---|---|---|
9c7deea8ca | |||
86244247cf |
@ -261,26 +261,23 @@ class Swar5 implements ReaderInterface
|
||||
|
||||
$applycustompoints = false;
|
||||
switch ($this->readData('Int', $swshandle)) {
|
||||
case 4:
|
||||
case 5:
|
||||
case 6:
|
||||
$system = TournamentSystem::CLOSED;
|
||||
break;
|
||||
case 7:
|
||||
case 8:
|
||||
$system = TournamentSystem::AMERICAN;
|
||||
break;
|
||||
case 3:
|
||||
$applycustompoints = true;
|
||||
case 0:
|
||||
case 1:
|
||||
case 2:
|
||||
case 3:
|
||||
default:
|
||||
$system = TournamentSystem::SWISS;
|
||||
break;
|
||||
case 4:
|
||||
$applycustompoints = true;
|
||||
$system = TournamentSystem::SWISS;
|
||||
break;
|
||||
case 5:
|
||||
case 6:
|
||||
case 7:
|
||||
$system = TournamentSystem::CLOSED;
|
||||
break;
|
||||
case 8:
|
||||
case 9:
|
||||
$system = TournamentSystem::AMERICAN;
|
||||
break;
|
||||
}
|
||||
$this->Tournament->System = new TournamentSystem($system);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user