formatting errors
This commit is contained in:
parent
6a9c274f48
commit
54e2e2edba
@ -88,7 +88,6 @@ function createButtons()
|
|||||||
local upgradeSheet = findUpgradeSheet()
|
local upgradeSheet = findUpgradeSheet()
|
||||||
if upgradeSheet then
|
if upgradeSheet then
|
||||||
for i = 1, 4 do
|
for i = 1, 4 do
|
||||||
log(4)
|
|
||||||
if upgradeSheet.call("isUpgradeActive", i) then
|
if upgradeSheet.call("isUpgradeActive", i) then
|
||||||
table.insert(hypothesisList, customizableList[i])
|
table.insert(hypothesisList, customizableList[i])
|
||||||
end
|
end
|
||||||
|
@ -61,17 +61,15 @@ end
|
|||||||
|
|
||||||
function loseAll(player)
|
function loseAll(player)
|
||||||
searchSelf()
|
searchSelf()
|
||||||
log(player.color)
|
|
||||||
if clickableResourceCounter then
|
if clickableResourceCounter then
|
||||||
clickableResourceCounter.call("updateVal", 0)
|
clickableResourceCounter.call("updateVal", 0)
|
||||||
end
|
end
|
||||||
printToColor("Discarded " .. foundTokens .. " resource(s).", player.color)
|
printToColor("Discarded " .. foundTokens .. " resource(s).", player.color)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- hide buttons and stop monitoring
|
-- hide buttons
|
||||||
function shutOff()
|
function shutOff()
|
||||||
self.UI.hide("Helper")
|
self.UI.hide("Helper")
|
||||||
Wait.stopAll()
|
|
||||||
updateSave()
|
updateSave()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user