Fix another logic typo

This commit is contained in:
Eren Dogan 2023-07-30 18:27:17 -07:00
parent 5cf774b53e
commit 4b2659a5e2
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ class graph:
if pin_safe and blockage in [self.source, self.target]: if pin_safe and blockage in [self.source, self.target]:
return False return False
elif xdiff < spacing or ydiff < spacing: elif xdiff < spacing or ydiff < spacing:
blocked = False blocked = True
else: else:
blocked = True blocked = True
return blocked return blocked