Revert "Potential stair key door fix"

This reverts commit 106e25f120.
This commit is contained in:
aerinon
2019-12-19 16:24:46 -07:00
parent 106e25f120
commit 263b155110
2 changed files with 1 additions and 14 deletions

View File

@@ -257,16 +257,6 @@ class Room(object):
self.doorList[list_idx] = (prev[0], kind)
self.modified = True
def mirror(self, list_idx):
prev = self.doorList[list_idx]
mirror_door = None
for door in self.doorList:
if door != prev:
mirror_door = door
break
self.doorList[list_idx] = (mirror_door[0], mirror_door[1])
self.modified = True
def swap(self, idx1, idx2):
item1 = self.doorList[idx1]
item2 = self.doorList[idx2]