From fe2d09f17a7e6805524a1e1fa0f63b68c710bd12 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Tue, 26 Dec 2017 01:50:04 -0500 Subject: [PATCH] Fix NIF surgery post-update This line was put into the wrong block (a good example of why relative pathing is bad, since it made it unclear where it was before in normal code). --- code/modules/surgery/implant.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/surgery/implant.dm b/code/modules/surgery/implant.dm index 23c993bb9e8..3bbb5f10897 100644 --- a/code/modules/surgery/implant.dm +++ b/code/modules/surgery/implant.dm @@ -122,7 +122,6 @@ return if(affected && affected.cavity) var/total_volume = tool.w_class - if(istype(tool,/obj/item/device/nif)){var/obj/item/device/nif/N = tool;N.implant(target)} //VOREStation Add - NIF support for(var/obj/item/I in affected.implants) if(istype(I,/obj/item/weapon/implant)) continue @@ -149,6 +148,7 @@ user.drop_item() affected.implants += tool tool.loc = affected + if(istype(tool,/obj/item/device/nif)){var/obj/item/device/nif/N = tool;N.implant(target)} //VOREStation Add - NIF support affected.cavity = 0 //////////////////////////////////////////////////////////////////