fix: simplify loadStats

This commit is contained in:
2025-11-29 15:12:27 +01:00
parent 601e52d21e
commit 922aec35c1
3 changed files with 8 additions and 17 deletions

View File

@@ -19,6 +19,7 @@ local function insertInReadme()
end
local totalStars = 0
---@diagnostic disable-next-line: param-type-mismatch
for _, s in pairs(stats) do
if s.puzzle1 then totalStars = totalStars + 1 end
if s.puzzle2 then totalStars = totalStars + 1 end