diff --git a/code/datums/components/nanites.dm b/code/datums/components/nanites.dm index d8028de9c0..a08ba405e7 100644 --- a/code/datums/components/nanites.dm +++ b/code/datums/components/nanites.dm @@ -189,10 +189,10 @@ permanent_programs += P if(immutable) P.immutable = TRUE - for(var/i in programs) - var/datum/nanite_program/E = i + for(var/e in programs) + var/datum/nanite_program/E = e if(E.unique && (E.type == P.type)) - qdel(i) + qdel(e) programs += P /** diff --git a/code/modules/research/designs/nanite_designs.dm b/code/modules/research/designs/nanite_designs.dm index 133b43e6a9..38cd774683 100644 --- a/code/modules/research/designs/nanite_designs.dm +++ b/code/modules/research/designs/nanite_designs.dm @@ -137,7 +137,7 @@ name = "Enhanced Error Correction" desc = "The nanites self-propagate and replicate their program storage memory, preventing viral takeovers." id = "antiviral_nanites" - program_type = /datum/nanite_program/antiviral + program_type = /datum/nanite_program/lockout/antiviral category = list("Utility Nanites") /datum/design/nanites/hostile_lockdown @@ -145,7 +145,7 @@ desc = "The nanites constantly encrypt and scramble their own control sectors, preventing consoles from controlling them. Furthermore, \ if the host happens to be a synthetic organism with innate control over nanite strains, this will prevent them from acting on the nanites as well." id = "hostile_lockdown" - program_type = /datum/nanite_program/hostile_lockdown + program_type = /datum/nanite_program/lockout/hostile_lockdown category = list("Utility Nanites") ////////////////////MEDICAL NANITES//////////////////////////////////////