From 00fb7b0ee364f6ec7f225689e4ceeafc59d6bfdc Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Sat, 11 Jan 2025 22:18:38 +0100 Subject: [PATCH] More generous y-difference check to allow tiles to stick --- src/core/Global.ttslua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Global.ttslua b/src/core/Global.ttslua index 2402a4884..1d4d308c3 100644 --- a/src/core/Global.ttslua +++ b/src/core/Global.ttslua @@ -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