From 94c077ce41a485cb81106cd26fa53728f8894d85 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 15 Feb 2024 11:46:22 +0000 Subject: [PATCH] Lua code format - (Stylua) --- data/scripts/lib/register_achievements.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/scripts/lib/register_achievements.lua b/data/scripts/lib/register_achievements.lua index 73fd63206af..df3dbff05d6 100644 --- a/data/scripts/lib/register_achievements.lua +++ b/data/scripts/lib/register_achievements.lua @@ -642,7 +642,8 @@ function Player.addAchievementProgress(self, achievement, totalProgress) end local progressNumber = self:getStorageValue(storage) - local progressNumber self:kv():scoped("achievements"):get("progress") + local progressNumber + self:kv():scoped("achievements"):get("progress") if progressNumber and progressNumber <= totalProgress then if progressNumber == totalProgress then self:addAchievement(foundAchievement.id)