Autopsy scanner no longer merges multiple autopsies into one when scanning one "Unknown" after the other. (#18066)

This commit is contained in:
alex-gh
2022-06-24 13:14:27 +02:00
committed by GitHub
parent ed203d9f69
commit bc89d4e9cc
+3 -1
View File
@@ -9,6 +9,7 @@
var/list/datum/autopsy_data_scanner/wdata = list()
var/list/chemtraces = list()
var/target_name = null
var/target_UID = null
var/timeofdeath = null
/obj/item/autopsy_scanner/Destroy()
@@ -156,7 +157,8 @@
if(!can_operate(M))
return
if(target_name != M.name)
if(target_UID != M.UID())
target_UID = M.UID()
target_name = M.name
wdata.Cut()
chemtraces.Cut()