Refactor 'absent' to 'presence' in Swar6 reader
The key for the custom points array has been changed from 'absent' to 'presence'. This change is made in the Swar6 class, specifically within the method that reads data from a handle. The value associated with this key remains unchanged.
This commit is contained in:
parent
ec0dd2148e
commit
4cee5fe116
@ -282,7 +282,7 @@ class Swar6 implements ReaderInterface
|
||||
$custompoints['draw'] = $this->readData('Int', $swshandle) / 4;
|
||||
$custompoints['loss'] = $this->readData('Int', $swshandle) / 4;
|
||||
$custompoints['bye'] = $this->readData('Int', $swshandle) / 4;
|
||||
$custompoints['absent'] = $this->readData('Int', $swshandle) / 4;
|
||||
$custompoints['presence'] = $this->readData('Int', $swshandle) / 4;
|
||||
if($applycustompoints) $this->Tournament->CustomPoints = $custompoints;
|
||||
$this->Tournament->EloUsed = $this->readData('Int', $swshandle);
|
||||
$this->Tournament->TournoiStd = $this->readData('Int', $swshandle);
|
||||
|
Loading…
Reference in New Issue
Block a user