Skip to content

Commit

Permalink
fix parking proxy bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Kohl committed Sep 5, 2024
1 parent c18a531 commit 522627d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ public void install() {
if (parkingConfig.getObserveOnly()) {
super.addControlerListenerBinding().toInstance(walkObserver);
} else {
super.addControlerListenerBinding().toInstance(new CarEgressWalkChanger(parkingHandler, penaltyFunction, walkObserver, parkingConfig.getIter0Method()));
CarEgressWalkChanger walkChanger = new CarEgressWalkChanger(parkingHandler, penaltyFunction, walkObserver, parkingConfig.getIter0Method());
super.addControlerListenerBinding().toInstance(walkChanger);
super.addControlerListenerBinding().toInstance(walkChanger.getBackChanger());
}
}

Expand Down

0 comments on commit 522627d

Please sign in to comment.