From bbc8c5599db05e736a1856f5dc6c651c4a8cc03b Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Tue, 16 May 2023 10:37:23 +0200 Subject: [PATCH] fixed autoformatting --- src/core/VictoryDisplay.ttslua | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/core/VictoryDisplay.ttslua b/src/core/VictoryDisplay.ttslua index b13cc05a..a6eb125c 100644 --- a/src/core/VictoryDisplay.ttslua +++ b/src/core/VictoryDisplay.ttslua @@ -1,8 +1,8 @@ -local playAreaApi = require("core/PlayAreaApi") -local pendingCall = false -local messageSent = {} -local missingData = {} -local countedVP = {} +local playAreaApi = require("core/PlayAreaApi") +local pendingCall = false +local messageSent = {} +local missingData = {} +local countedVP = {} local highlightMissing = false local highlightCounted = false @@ -156,7 +156,7 @@ function updateCount() table.insert(countedVP, obj) end - -- handling for stacked cards + -- handling for stacked cards elseif obj.tag == "Deck" then local VP = 0 for _, deepObj in ipairs(obj.getObjects()) do @@ -230,8 +230,7 @@ end function highlightCountedVP() self.editButton({ index = 4, - tooltip = (highlightCounted and "Enable" or "Disable") .. - " highlighting of cards with VP." + tooltip = (highlightCounted and "Enable" or "Disable") .. " highlighting of cards with VP." }) for _, obj in pairs(countedVP) do if obj ~= nil then