diff --git a/src/core/GameKeyHandler.ttslua b/src/core/GameKeyHandler.ttslua index d217edc4..40994cc7 100644 --- a/src/core/GameKeyHandler.ttslua +++ b/src/core/GameKeyHandler.ttslua @@ -120,6 +120,8 @@ function getColorToDiscardFor(hoveredObject, playerColor) local discardForMatColor if inArea(pos, areaNearPlaymat) then return closestMatColor + elseif pos.y > (Player[playerColor].getHandTransform().position.y - (Player[playerColor].getHandTransform().scale.y / 2)) then -- discard to closest mat if card is in a hand + return closestMatColor else return playmatApi.getMatColor(playerColor) end