From aff12feaaa478c28dcb84938ac2e852e2e6c64e0 Mon Sep 17 00:00:00 2001 From: cib Date: Tue, 15 Jan 2013 21:14:06 +0100 Subject: [PATCH] More fixes to autopsy scanner, issue #2153 - Scanner will now print data even when only time of death is available. - Scanner will reset chemtraces on new patient. --- code/WorkInProgress/autopsy.dm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/WorkInProgress/autopsy.dm b/code/WorkInProgress/autopsy.dm index 7cbc8a40175..df14b1c9396 100644 --- a/code/WorkInProgress/autopsy.dm +++ b/code/WorkInProgress/autopsy.dm @@ -74,10 +74,6 @@ usr << "No." return - if(wdata.len == 0 && chemtraces.len == 0) - usr << "* There is no data about any wounds in the scanner's database. You may have to scan more bodyparts, or otherwise this wound type may not be in the scanner's database." - return - var/scan_data = "" if(timeofdeath) @@ -179,6 +175,8 @@ if(target_name != M.name) target_name = M.name src.wdata = list() + src.chemtraces = list() + src.timeofdeath = null user << "\red A new patient has been registered.. Purging data for previous patient." src.timeofdeath = M.timeofdeath