Skip to content

Commit

Permalink
Fixes Microscope GSR String Formatting (#13)
Browse files Browse the repository at this point in the history
Co-authored-by: Tim <[email protected]>
  • Loading branch information
That0nePerson and DatBoiTim authored Feb 18, 2022
1 parent 1ea676a commit 184d09d
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit 184d09d

Please sign in to comment.