fixed handling for non-downloaded campaign boxes

This commit is contained in:
Chr1Z93 2024-11-12 23:03:44 +01:00
parent c3c105f670
commit 58dd1e79af

View File

@ -97,7 +97,7 @@ function importFromToken()
end
-- 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")
coWaitFrames(5)
end