From 7b7c508b722b953532b99481c7f3051bccda792f Mon Sep 17 00:00:00 2001 From: Neerti Date: Tue, 30 Aug 2016 13:26:44 -0400 Subject: [PATCH] Laptop ID Computer Fix The manifest should now be updated correctly when using laptops. --- code/game/machinery/computer3/computers/card.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/machinery/computer3/computers/card.dm b/code/game/machinery/computer3/computers/card.dm index d7ca4267e4..1ca25dcb0b 100644 --- a/code/game/machinery/computer3/computers/card.dm +++ b/code/game/machinery/computer3/computers/card.dm @@ -311,11 +311,15 @@ writer.assignment = t1 writer.name = text("[writer.registered_name]'s ID Card ([writer.assignment])") + data_core.manifest_modify(writer.registered_name, writer.assignment) + callHook("reassign_employee", list(writer)) if("reg" in href_list) if(auth) writer.registered_name = href_list["reg"] writer.name = text("[writer.registered_name]'s ID Card ([writer.assignment])") + data_core.manifest_modify(writer.registered_name, writer.assignment) + callHook("reassign_employee", list(writer)) computer.updateUsrDialog() return