fixed formatting
This commit is contained in:
parent
1d8d91e3ef
commit
fd62c91418
@ -95,7 +95,7 @@ function importFromToken(coin)
|
||||
|
||||
Wait.condition(
|
||||
function()
|
||||
local campaignBox = getObjectFromGUID(importData["box"])
|
||||
campaignBox = getObjectFromGUID(importData["box"])
|
||||
if #campaignBox.getObjects() > 0 then
|
||||
placeCampaignFromToken(importData, coin)
|
||||
else
|
||||
@ -103,11 +103,11 @@ function importFromToken(coin)
|
||||
end
|
||||
end,
|
||||
function()
|
||||
local obj = getObjectFromGUID(importData["box"])
|
||||
if obj == nil then
|
||||
campaignBox = getObjectFromGUID(importData["box"])
|
||||
if campaignBox == nil then
|
||||
return false
|
||||
else
|
||||
return obj.type == "Bag"
|
||||
return campaignBox.type == "Bag"
|
||||
end
|
||||
end,
|
||||
2,
|
||||
|
Loading…
Reference in New Issue
Block a user