Explorar el Código

zwischenlösung

Kevin Trometer hace 8 años
padre
commit
ad9567681e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/ui/controller/SimulationManager.java

+ 1 - 1
src/ui/controller/SimulationManager.java

@@ -198,7 +198,7 @@ public class SimulationManager {
 								}
 							}
 							for(Integer tag: tmp.getTag()){
-								if(!(edge.getTags().contains(tag))){
+								if(!(edge.getTags().contains(tag)) && tagTable.get(tag) != null){
 									edge.setFlow(edge.getFlow() + tagTable.get(tag));
 									edge.addTag(tag);
 								}