fixed bracket placement
This commit is contained in:
parent
06e81835e9
commit
d931d21822
@ -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