Skip to content

Commit 5e7718c

Browse files
authored
Merge pull request #870 from Pebob/patch-1
Update unit-syndromes.lua
2 parents 1fcc838 + eb10f74 commit 5e7718c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Template for new versions:
3131
## New Features
3232

3333
## Fixes
34+
- `gui/unit-syndromes`: show the syndrome names properly in the UI
3435

3536
## Misc Improvements
3637

gui/unit-syndromes.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ local function getSyndromeName(syndrome_raw)
245245
end
246246

247247
if syndrome_raw.syn_name ~= "" then
248-
syndrome_raw.syn_name:gsub("^%l", string.upper)
248+
return syndrome_raw.syn_name:gsub("^%l", string.upper)
249249
elseif is_transformation then
250250
return "Body transformation"
251251
end

0 commit comments

Comments
 (0)