fixed some auto-formatting

This commit is contained in:
Chr1Z93 2023-09-28 19:49:10 +02:00
parent 8cc5170c10
commit c13582f5b0

View File

@ -89,8 +89,7 @@ function onLoad(saveState)
percentage = false percentage = false
else else
percentage = "basic" percentage = "basic"
broadcastToAll("Percentages are unreliable when using tokens that draw other tokens (bless or curse for example).", broadcastToAll("Percentages are unreliable when using tokens that draw other tokens (bless or curse for example).", "Yellow")
"Yellow")
end end
layout() layout()
end) end)
@ -101,8 +100,7 @@ function onLoad(saveState)
else else
percentage = "cumulative" percentage = "cumulative"
end end
broadcastToAll("Percentages are unreliable when using tokens that draw other tokens (bless or curse for example).", broadcastToAll("Percentages are unreliable when using tokens that draw other tokens (bless or curse for example).", "Yellow")
"Yellow")
layout() layout()
end) end)
end end
@ -349,10 +347,10 @@ function layout(_, _, isRightClick)
createPercentageButton(tokenCount, valueCount, tokenName) createPercentageButton(tokenCount, valueCount, tokenName)
end end
location.x = location.x - 1.75 location.x = location.x - 1.75
location.z = pos.z location.z = pos.z
currentValue = item.value currentValue = item.value
valueCount = valueCount + 1 valueCount = valueCount + 1
tokenCount.row = 0 tokenCount.row = 0
end end
@ -361,8 +359,8 @@ function layout(_, _, isRightClick)
position = location, position = location,
rotation = rotation rotation = rotation
}) })
tokenName = item.token.Nickname tokenName = item.token.Nickname
location.z = location.z - 1.75 location.z = location.z - 1.75
tokenCount.row = tokenCount.row + 1 tokenCount.row = tokenCount.row + 1
end end