Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DOOM authored and DOOM committed Jun 3, 2024
1 parent be54d08 commit 9bd6a65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/machinery/computer/medical.dm
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
return TRUE
return FALSE
if("updateStatRecord")
if(!insert_record_stat(mob_name = target_id_card.name, record_type = params["record_type"], stat_type = params["stat"], new_stat = params["new_value"]))
if(!insert_record_stat(mob_name = target_id_card.registered_name, mob_ref = target_id_card.registered_ref, record_type = params["record_type"], stat_type = params["stat"], new_stat = params["new_value"]))
visible_message("[SPAN_BOLD("[src]")] states, \"DATACORE FAILURE: Unable to update relevant database logs.\"")
return TRUE
if("submitReport")
Expand Down Expand Up @@ -244,6 +244,6 @@
data["existingReport"] = target_record_medical?.fields[MOB_AUTOPSY_SUBMISSION]
data["authenticated"] = authenticated
data["has_id"] = !!target_id_card
data["id_name"] = target_id_card ? target_id_card.name : "-----"
data["id_name"] = target_id_card ? target_id_card.registered_name : "-----"

return data

0 comments on commit 9bd6a65

Please sign in to comment.