Skip to content

Commit

Permalink
Hotfixes #4890 bug adds mising newline (#4919)
Browse files Browse the repository at this point in the history
# About the pull request

Adds missing newline after [View] so that flavour text displays below.

# Explain why it's good for the game
# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
fix: Adds missing newline when viewing sec records as observer.
/:cl:

---------

Co-authored-by: forest2001 <[email protected]>
  • Loading branch information
Birdtalon and realforest2001 authored Nov 16, 2023
1 parent 0394e18 commit f288459
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/mob/living/carbon/human/examine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,8 @@
msg += "<span class = 'deptradio'>Security records:</span> <a href='?src=\ref[src];secrecord=1'>\[View\]</a>"
if(!observer)
msg += " <a href='?src=\ref[src];secrecordadd=1'>\[Add comment\]</a>\n"

else
msg += "\n"
if(hasHUD(user,"medical"))
var/cardcolor = holo_card_color
if(!cardcolor) cardcolor = "none"
Expand Down

0 comments on commit f288459

Please sign in to comment.