From d500aa1c6653f09878c7f735f274311a6962bf13 Mon Sep 17 00:00:00 2001 From: Razgriz Date: Wed, 15 Jul 2020 19:46:01 -0700 Subject: [PATCH] Remove NIF savetofile Long shot, but in hopes of fixing a crashing bug involving NIF info saving to character file --- code/modules/nifsoft/nif.dm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/code/modules/nifsoft/nif.dm b/code/modules/nifsoft/nif.dm index 85b0ebbee8..ff392d42a9 100644 --- a/code/modules/nifsoft/nif.dm +++ b/code/modules/nifsoft/nif.dm @@ -26,8 +26,6 @@ You can also set the stat of a NIF to NIF_TEMPFAIL without any issues to disable var/durability = 100 // Durability remaining var/bioadap = FALSE // If it'll work in fancy species - var/savetofile = TRUE /*Start True so that Transcore saves any NIF that's newly installed with the correct scans or implant. - DO NOT CHANGE durability WITHOUT SETTING THIS TO TRUE. */ var/tmp/power_usage = 0 // Nifsoft adds to this var/tmp/mob/living/carbon/human/human // Our owner! @@ -98,7 +96,6 @@ You can also set the stat of a NIF to NIF_TEMPFAIL without any issues to disable //If given wear (like when spawned) then done if(wear) durability = wear - savetofile = TRUE wear(0) //Just make it update. //Draw me yo. @@ -191,7 +188,6 @@ You can also set the stat of a NIF to NIF_TEMPFAIL without any issues to disable /obj/item/device/nif/proc/wear(var/wear = 0) wear *= (rand(85,115) / 100) //Apparently rand() only takes integers. durability -= wear - savetofile = TRUE if(durability <= 0) stat = NIF_TEMPFAIL @@ -230,7 +226,6 @@ You can also set the stat of a NIF to NIF_TEMPFAIL without any issues to disable playsound(src, 'sound/items/Screwdriver.ogg', 50, 1) open = FALSE durability = initial(durability) - savetofile = TRUE stat = NIF_PREINSTALL update_icon()