fixed handling for non-downloaded campaign boxes
This commit is contained in:
parent
c3c105f670
commit
58dd1e79af
@ -97,7 +97,7 @@ function importFromToken()
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- trigger the place function of the memory bag
|
-- trigger the place function of the memory bag
|
||||||
if campaignBox and #campaignBox.getObjects() > 0 then
|
if campaignBox and campaignBox.type == "Bag" and #campaignBox.getObjects() > 0 then
|
||||||
campaignBox.call("buttonClick_place")
|
campaignBox.call("buttonClick_place")
|
||||||
coWaitFrames(5)
|
coWaitFrames(5)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user