Skip to content

Commit

Permalink
Merge pull request #870 from Pebob/patch-1
Browse files Browse the repository at this point in the history
Update unit-syndromes.lua
  • Loading branch information
myk002 authored Oct 25, 2023
2 parents 1fcc838 + eb10f74 commit 5e7718c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Template for new versions:
## New Features

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

## Misc Improvements

Expand Down
2 changes: 1 addition & 1 deletion gui/unit-syndromes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e7718c

Please sign in to comment.