Skip to content

Commit

Permalink
fixes #4043 (extra space in bodypart info) (#4056)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
fixes #4043 
(weird space as shown)

![404732061-c679297e-b40d-4791-9417-573307458506](https://github.com/user-attachments/assets/628cb960-9ba7-4ef9-ae66-131e89b5c04b)

<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game

![image](https://github.com/user-attachments/assets/b59460cb-4525-4e23-a347-689a743fd04b)

![image](https://github.com/user-attachments/assets/a8166f41-5503-4b80-9147-f8d3d3598750)

<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

## Changelog

:cl:
fix: extra space in disabled bodypart text.
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
  • Loading branch information
Thera-Pissed authored Jan 21, 2025
1 parent a118819 commit bec97ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/mob/living/carbon/human/human_defense.dm
Original file line number Diff line number Diff line change
Expand Up @@ -763,9 +763,9 @@
if(LB.bodypart_disabled)
isdisabled = " is disabled"
if(no_damage)
isdisabled += " but otherwise "
isdisabled += " but otherwise"
else
isdisabled += " and "
isdisabled += " and"
combined_msg += "\t <span class='[no_damage ? "notice" : "warning"]'>Your [LB.name][isdisabled][self_aware ? " has " : " is "][status].</span>"

for(var/obj/item/I in LB.embedded_objects)
Expand Down

0 comments on commit bec97ce

Please sign in to comment.