Remove the extra space from layering menu #53905
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Bugfixes "Remove duplicate space in clothing layering menu"
Purpose of change
Weep no more, but rejoice! The vile extra space has been purged from the clothing layering menu when a survivor is wearing conflicting clothes. No more will it trouble us. Fixes #53823
Describe the solution
Previously, the string specifying the layer had spaces at the end. Unfortunately, it was being inserted into a string that put a space on both sides of the insertion point which resulted in duplication. So I just removed the spaces from the layer string. This should be fine as this is the only spot those strings are used anyway.
Describe alternatives you've considered
Continue to let the extra space stay, and the tears from seeing it flow.
Testing
Step 1: New world, new character.
Step 2: Wear extra shirts, pants, bags, etc to have conflicting clothing layers.
Step 3: Check in the clothing layering menu and see the lone space between the layer and the word "on".
Additional context
The lone space shown on a heavily overdressed survivor.
As a side note, I noticed when wearing a t-shirt and long sleeved shirt at the same time the body part name in the layering menu is blank (both before and after this change). This is probably not intended, but I would prefer to double check before submitting an issue. Sadly, I could not find the root of the problem myself.

Empty body part.