Search found 1 match

by novajourney
Mon Jul 31, 2023 2:49 am
Forum: Support and Development
Topic: My project crashes every time I try to edit the contents of a table in an if else statement.
Replies: 4
Views: 2531

My project crashes every time I try to edit the contents of a table in an if else statement.

if down == true then if checkForPiece(chessPieceData, chessPieceMouseX, chessPieceMouseY) and (waiting == false) then pieceIndex = findPieceIndex(chessPieceData, chessPieceMouseX, chessPieceMouseY) waiting = true print(pieceIndex) else table = chessPieceData[pieceIndex] chessPiece = table[1] waitin...