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