Skip to content

Commit

Permalink
fixed issue with dialouge window
Browse files Browse the repository at this point in the history
addText was given 6 inputs instead of 5, was because I added an additional input on accident
  • Loading branch information
GeorgesCoding committed Jul 2, 2024
1 parent 5e3c9fd commit 5deb4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def castle(piece, board, oldY, oldX, pSize, size, moveList, text, count):
firstMove(piece, board, oldY, kingX)
firstMove(rook, board, oldY, rookX)
board[mY][tempX] = 0
count = addText(text, str(PIECE[piece]) + str(side), count, 0, 0, 0)
count = addText(text, str(PIECE[piece]) + str(side), count, 0, 0)
return True, count
return False, count

Expand Down

0 comments on commit 5deb4e3

Please sign in to comment.