Fixed Tetra-X crashing

This commit is contained in:
Ishaan Bhardwaj 2021-03-08 15:36:58 -05:00
parent 23386f3f1c
commit bc4179ef81

View File

@ -99,7 +99,7 @@ end
function Tetra:onPieceCreate(piece) piece.lowest_y = -math.huge end
function Tetra:onPieceDrop(piece) self:checkNewLow(piece) end
function Tetra:onPieceMove() end
function Tetra:onPieceRotate() self:checkNewLow(piece) end
function Tetra:onPieceRotate(piece) self:checkNewLow(piece) end
function Tetra:canPieceRotate() return true end
function Tetra:get180RotationValue() return 2 end