Do not call the Waypoint-Callback itself again
This commit is contained in:
parent
0db1636a38
commit
860678e57f
@ -109,8 +109,6 @@ class TrackManiaCallbacks implements CallbackListener {
|
|||||||
$this->maniaControl->getCallbackManager()->triggerCallback(Callbacks::TM_ONFINISHLINE, $structure);
|
$this->maniaControl->getCallbackManager()->triggerCallback(Callbacks::TM_ONFINISHLINE, $structure);
|
||||||
} else if ($structure->getIsEndLap()) {
|
} else if ($structure->getIsEndLap()) {
|
||||||
$this->maniaControl->getCallbackManager()->triggerCallback(Callbacks::TM_ONLAPFINISH, $structure);
|
$this->maniaControl->getCallbackManager()->triggerCallback(Callbacks::TM_ONLAPFINISH, $structure);
|
||||||
} else {
|
|
||||||
$this->maniaControl->getCallbackManager()->triggerCallback(Callbacks::TM_ONWAYPOINT, $structure);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user