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.
This commit is contained in:
Verkister
2018-05-10 14:28:42 +03:00
parent c0c9ab541f
commit 00296486b8
+1
View File
@@ -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)