From 87f44825094b82e57838c6609f1666707278d52a Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Mon, 8 Jul 2024 22:30:11 +0200 Subject: [PATCH] Only replenish face up cards --- src/playermat/Playermat.ttslua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playermat/Playermat.ttslua b/src/playermat/Playermat.ttslua index e2baeb45..a2545fa5 100644 --- a/src/playermat/Playermat.ttslua +++ b/src/playermat/Playermat.ttslua @@ -347,7 +347,7 @@ function doUpkeep(_, clickedByColor, isRightClick) end -- maybe replenish uses on certain cards (don't continue for cards on the deck (Norman) or in the discard pile) - if cardMetadata.uses ~= nil and self.positionToLocal(obj.getPosition()).x > -1 then + if cardMetadata.uses ~= nil and self.positionToLocal(obj.getPosition()).x > -1 and not obj.is_face_down then tokenManager.maybeReplenishCard(obj, cardMetadata.uses, self) end elseif obj.type == "Deck" and forcedLearning == false then