Skip to content

Commit

Permalink
Update DrivingGraph.java
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisDrogoul committed May 2, 2023
1 parent ae0c23f commit d2279dc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -58,7 +58,7 @@ public boolean addEdgeWithNodes(final IScope scope, final IShape e, final IMap<G
final IShape v2 = nodes.get(ptT);
if (v2 == null) return false;

if (e instanceof IAgent && ((IAgent) e).getSpecies().implementsSkill("road")) {
if (e instanceof IAgent && ((IAgent) e).getSpecies().implementsSkill("road_skill")) {
final IAgent roadAgent = e.getAgent();
final IAgent source = v1.getAgent();
final IAgent target = v2.getAgent();
Expand Down

0 comments on commit d2279dc

Please sign in to comment.