Skip to content

Commit

Permalink
Fix function naming
Browse files Browse the repository at this point in the history
  • Loading branch information
kielczykowski-rai committed Dec 9, 2024
1 parent b06c3e6 commit 13bb851
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private static float CalculateTrafficLightDistance(NPCVehicleInternalState state
var distanceToStopPointByTrafficLight = float.MaxValue;
if (state.TrafficLightLane != null)
{
var distanceToStopLine = state.DistanceToClosestTrafficLane();
var distanceToStopLine = state.DistanceToClosestTrafficLightLane();
switch (state.TrafficLightPassability)
{
case TrafficLightPassability.GREEN:
Expand Down

0 comments on commit 13bb851

Please sign in to comment.