Merge pull request #523 from argonui/gamekeys

Discard Object Hotkey: fixed wrong bracket placement
This commit is contained in:
Entrox-Licher 2024-01-03 11:16:36 -05:00 committed by GitHub
commit 40d42f4bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ function discardObject(playerColor, hoveredObject)
-- discard tokens / tiles on cards / decks
if hoveredObject.type ~= "Tile" then
for _, obj in ipairs(searchLib.onObject(hoveredObject), "isTileOrToken") do
for _, obj in ipairs(searchLib.onObject(hoveredObject, "isTileOrToken")) do
table.insert(discardTheseObjects, obj)
end
end