Update GameKeyHandler.ttslua

This commit is contained in:
Whimsical-Cloudheart 2024-05-28 08:54:17 -03:00 committed by GitHub
parent f6bff32b14
commit 7ce026fb3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -174,7 +174,7 @@ function discardTopDeck(playerColor, hoveredObject)
else
takenCard = hoveredObject
end
Wait.frames(function() performDiscard(playerColor, hoveredObject) end, 1)
Wait.frames(function() performDiscard(playerColor, takenCard) end, 1)
end
-- helper function to get the player to trigger the discard function for