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.
This commit is contained in:
cib
2013-01-15 21:14:06 +01:00
parent 4773361f64
commit aff12feaaa
+2 -4
View File
@@ -74,10 +74,6 @@
usr << "No."
return
if(wdata.len == 0 && chemtraces.len == 0)
usr << "<b>* 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