Skip to content
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.

Fixes Microscope GSR String Formatting #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions code/modules/detectivework/microscope/microscope.dm
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@
report.info = "<b>Scanned item:</b><br>[scaned_object]<br><br>"
if("gunshot_residue" in evidence)
report.info += "<b>Gunpowder residue analysis report #[report_num]</b>: [scaned_object]<br>"
if(evidence["gunshot_residue"])
report.info += "Residue from a [evidence["gunshot_residue"]] bullet detected."
if(LAZYLEN(evidence["gunshot_residue"]))
report.info += "Residue from the following bullets detected:"
for(var/residue in evidence["gunshot_residue"])
report.info += "<span class='notice'>[residue]</span><br><br>"
else
report.info += "No gunpowder residue found."
if("fibers" in evidence)
Expand Down