Skip to content

Commit

Permalink
More generous y-difference check to allow tiles to stick
Browse files Browse the repository at this point in the history
  • Loading branch information
Chr1Z93 committed Jan 11, 2025
1 parent e38df33 commit 00fb7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Global.ttslua
Original file line number Diff line number Diff line change
Expand Up @@ -3212,7 +3212,7 @@ function handleTokenAttaching(params)
local cardPos = card.getPosition()
local eligibleTokens = {}
for _, token in ipairs(searchResult) do
if not token.locked and token.getPosition().y > (cardPos.y + 0.025) then
if not token.locked and token.getPosition().y > (cardPos.y + 0.01) then
table.insert(eligibleTokens, token)
end
end
Expand Down

0 comments on commit 00fb7b0

Please sign in to comment.