excluded resource counters
This commit is contained in:
parent
8b04ee0245
commit
291465ca13
@ -135,7 +135,7 @@ function removeOneUse(playerColor, hoveredObject)
|
||||
|
||||
for _, v in ipairs(searchOnObj(hoveredObject)) do
|
||||
local obj = v.hit_object
|
||||
if obj.type == "Tile" and not obj.locked then
|
||||
if obj.type == "Tile" and not obj.locked and obj.memo ~= "resourceCounter" then
|
||||
-- check for matching object, otherwise use the first hit
|
||||
if obj.memo == searchForType then
|
||||
targetObject = obj
|
||||
|
Loading…
Reference in New Issue
Block a user