Update GameKeyHandler.ttslua

This commit is contained in:
Whimsical-Cloudheart 2024-05-28 07:39:59 -03:00 committed by GitHub
parent 2c4d84400c
commit 377b436feb
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() discardObject(playerColor, takenCard) end, 1)
Wait.frames(function() performDiscard(takenCard, playerColor) end, 1)
end
-- helper function to get the player to trigger the discard function for