Fixed wrong placement of open dedimania session

This commit is contained in:
kremsy
2017-05-22 17:39:22 +02:00
parent 5199842166
commit c0e3979a39
2 changed files with 3 additions and 3 deletions

View File

@ -170,7 +170,6 @@ class DedimaniaWebHandler implements TimerListener {
*/
public function checkDedimaniaSession() { //TODO complete check and refactor
if (!$this->dedimaniaData->sessionIdSet()) {
$this->openDedimaniaSession();
return;
}
@ -227,7 +226,7 @@ class DedimaniaWebHandler implements TimerListener {
if ($this->maniaControl->getMapManager()->getCurrentMap()->nbCheckpoints < 2) {
return;
}
// Send dedimania records
$gameMode = $this->getGameModeString();
$times = array();