Do not call the Waypoint-Callback itself again
This commit is contained in:
1 parent
0db1636a38
commit
860678e57f
1 file changed
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user