fixed wrong bracket placement

This commit is contained in:
Chr1Z93 2023-12-31 13:41:53 +01:00
parent 6b0a889724
commit 20a24eb12c

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