From 00296486b894ea8712079629b2cf33ffae38009f Mon Sep 17 00:00:00 2001 From: Verkister Date: Thu, 10 May 2018 14:28:42 +0300 Subject: [PATCH] Fixes resleeving forcing reinstall wear for each backed up soft. -Seems like an oversight no one's brought up before as resleeving is supposed to restore the backed up nif with the softs included, not wear it out reinstalling everything on empty nif. -Basically just restores the backed up nif durability after restoring the nifsofts upon resleeving. --- code/modules/resleeving/machines.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/resleeving/machines.dm b/code/modules/resleeving/machines.dm index ced1dcc634..ca4d9c7a67 100644 --- a/code/modules/resleeving/machines.dm +++ b/code/modules/resleeving/machines.dm @@ -529,6 +529,7 @@ var/obj/item/device/nif/nif = new MR.nif_path(occupant,MR.nif_durability) for(var/path in MR.nif_software) new path(nif) + nif.durability = MR.nif_durability //Restore backed up durability as the line above forces reinstall wear for each soft. // If it was a custom sleeve (not owned by anyone), update namification sequences if(!occupant.original_player)