POC: Boss tactics
All checks were successful
forgejo/Czech Quests/addon/pipeline/head This commit looks good

This commit is contained in:
Roman Jaroš 2025-03-28 10:45:45 +01:00
parent 45b919a41e
commit 6c2381d65c
2 changed files with 271 additions and 13 deletions

View file

@ -17,8 +17,8 @@ end
addon.API.CreateCzechFont = CreateCzechFont
local function UpdateCzechFont(FontString, name, size)
local _, _, flags = FontString:GetFont()
FontString:SetFont(FontPath .. name, size, flags)
local _, currentSize, flags = FontString:GetFont()
FontString:SetFont(FontPath .. name, size or currentSize, flags)
end
addon.API.UpdateCzechFont = UpdateCzechFont