buildgraph: dont double-collect points
This commit is contained in:
parent
587eb41592
commit
2bb89f4c1a
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Graph:
|
|||
self.connect_levelconnectors()
|
||||
|
||||
# finishing build: creating numpy arrays and convert everything else to tuples
|
||||
self.points = tuple(self.points)
|
||||
self.points = tuple(set(self.points))
|
||||
|
||||
for i, room in enumerate(rooms):
|
||||
room.i = i
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue