added comment
This commit is contained in:
parent
7b8750a178
commit
1527b023c0
@ -641,6 +641,7 @@ end
|
|||||||
function removeTokensFromObject(object)
|
function removeTokensFromObject(object)
|
||||||
for _, v in ipairs(searchArea(object.getPosition(), { 3, 1, 4 })) do
|
for _, v in ipairs(searchArea(object.getPosition(), { 3, 1, 4 })) do
|
||||||
local obj = v.hit_object
|
local obj = v.hit_object
|
||||||
|
-- don't remove the table surface, self, any decks/cards or chaos tokens
|
||||||
if obj.getGUID() ~= "4ee1f2" and
|
if obj.getGUID() ~= "4ee1f2" and
|
||||||
obj ~= self and
|
obj ~= self and
|
||||||
obj.type ~= "Deck" and
|
obj.type ~= "Deck" and
|
||||||
|
Loading…
Reference in New Issue
Block a user