Skip to content

Commit

Permalink
Stupid elif... maze gen working as expected now
Browse files Browse the repository at this point in the history
  • Loading branch information
1024Adam committed Mar 12, 2017
1 parent 7d52542 commit 0ec76d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infinite_maze/Line.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def generateMaze(game, width, height):
for line in lines:
if (line.getSideA() == tempSideB):
line.setSideA(tempSideA)
elif (line.getSideB() == tempSideB):
if (line.getSideB() == tempSideB):
line.setSideB(tempSideA)
sets = []
for line in lines:
Expand Down

0 comments on commit 0ec76d3

Please sign in to comment.