Merge pull request #523 from argonui/gamekeys
Discard Object Hotkey: fixed wrong bracket placement
This commit is contained in:
commit
40d42f4bfc
@ -70,7 +70,7 @@ function discardObject(playerColor, hoveredObject)
|
|||||||
|
|
||||||
-- discard tokens / tiles on cards / decks
|
-- discard tokens / tiles on cards / decks
|
||||||
if hoveredObject.type ~= "Tile" then
|
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)
|
table.insert(discardTheseObjects, obj)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user