Skip to content

Fix goal not added when target min and max are equal

Tjerk Vreeken requested to merge min-max-equal-goal into master

If there was already an existing constraint from a previous priority, any later goals for the same state with target_min and target_max equal would not be added. The correct implementation only skips adding new goals when existing constraints have their min equal to max.

Merge request reports