dedimania small update
This commit is contained in:
parent
468f937b2e
commit
8cfe46e32f
@ -116,7 +116,7 @@ class DedimaniaData {
|
||||
* Unsets all existing Records
|
||||
*/
|
||||
public function unsetRecords() {
|
||||
unset($this->records);
|
||||
$this->records = array();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -238,8 +238,6 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
|
||||
*/
|
||||
public function handleEveryHalfMinute() {
|
||||
if ($this->webHandler->getDedimaniaData()->sessionId == "") {
|
||||
var_dump("Debug test Dedimania 2, will be removed soon!"); //TODO
|
||||
var_dump($this->webHandler->getDedimaniaData()->sessionId);
|
||||
return;
|
||||
}
|
||||
$this->webHandler->checkDedimaniaSession();
|
||||
@ -307,7 +305,7 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
|
||||
/**
|
||||
* Handle Finish Callback
|
||||
*
|
||||
* @param OnWayPointEventStructure $callback
|
||||
* @param \ManiaControl\Callbacks\Structures\TrackMania\OnWayPointEventStructure $structure
|
||||
*/
|
||||
public function handleFinishCallback(OnWayPointEventStructure $structure) {
|
||||
if ($structure->getRaceTime() <= 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user