From 58dd1e79af560cfce04fa180c65ec22cae8b74c6 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Tue, 12 Nov 2024 23:03:44 +0100 Subject: [PATCH] fixed handling for non-downloaded campaign boxes --- src/accessories/CampaignImporterExporter.ttslua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accessories/CampaignImporterExporter.ttslua b/src/accessories/CampaignImporterExporter.ttslua index d08ba39d..167b73c4 100644 --- a/src/accessories/CampaignImporterExporter.ttslua +++ b/src/accessories/CampaignImporterExporter.ttslua @@ -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