Commit 8f79cc5a authored by Benedikt Zoennchen's avatar Benedikt Zoennchen
Browse files

bug fix: cloning of PotentialFieldObstacleCompact objects.

parent acdf791d
Pipeline #55604 passed with stage
in 48 seconds
......@@ -128,7 +128,7 @@ public class PotentialFieldObstacleCompact implements PotentialFieldObstacle {
public PotentialFieldObstacle copy() {
PotentialFieldObstacleCompact potentialFieldObstacleCompact = new PotentialFieldObstacleCompact();
init(attributes, topography, random);
potentialFieldObstacleCompact.init(attributes, topography, random);
return potentialFieldObstacleCompact;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment