diff --git a/changelog.txt b/changelog.txt index 67bde5550a..4dbea9f8bb 100644 --- a/changelog.txt +++ b/changelog.txt @@ -31,6 +31,7 @@ Template for new versions: ## New Features ## Fixes +- `gui/unit-syndromes`: show the syndrome names properly in the UI ## Misc Improvements diff --git a/gui/unit-syndromes.lua b/gui/unit-syndromes.lua index 994f967c08..9454a586c8 100644 --- a/gui/unit-syndromes.lua +++ b/gui/unit-syndromes.lua @@ -245,7 +245,7 @@ local function getSyndromeName(syndrome_raw) end if syndrome_raw.syn_name ~= "" then - syndrome_raw.syn_name:gsub("^%l", string.upper) + return syndrome_raw.syn_name:gsub("^%l", string.upper) elseif is_transformation then return "Body transformation" end