Merge pull request #532 from argonui/hotkey-fix
Fixed bracket placement for "Remove One Use" hotkey
This commit is contained in:
commit
bf0cb5cd01
@ -150,7 +150,7 @@ function removeOneUse(playerColor, hoveredObject)
|
||||
local searchForType = useInfo.type
|
||||
if searchForType then searchForType = searchForType:lower() end
|
||||
|
||||
for _, obj in ipairs(searchLib.onObject(hoveredObject), "isTileOrToken") do
|
||||
for _, obj in ipairs(searchLib.onObject(hoveredObject, "isTileOrToken")) do
|
||||
if not obj.locked and obj.memo ~= "resourceCounter" then
|
||||
-- check for matching object, otherwise use the first hit
|
||||
if obj.memo == searchForType then
|
||||
|
Loading…
Reference in New Issue
Block a user