Do not call the Waypoint-Callback itself again

This commit is contained in:
Alexander Nell 2020-05-07 13:05:39 +02:00
parent 0db1636a38
commit 860678e57f
1 changed files with 0 additions and 2 deletions

View File

@ -109,8 +109,6 @@ class TrackManiaCallbacks implements CallbackListener {
$this->maniaControl->getCallbackManager()->triggerCallback(Callbacks::TM_ONFINISHLINE, $structure);
} else if ($structure->getIsEndLap()) {
$this->maniaControl->getCallbackManager()->triggerCallback(Callbacks::TM_ONLAPFINISH, $structure);
} else {
$this->maniaControl->getCallbackManager()->triggerCallback(Callbacks::TM_ONWAYPOINT, $structure);
}
}
}