Fixed DNC

Fixed Arousal enabled when in prefs disabled
This commit is contained in:
AlManiak
2024-10-24 19:33:18 +02:00
parent bba2ef4de6
commit 30f539cb69
4 changed files with 14 additions and 16 deletions
+4 -4
View File
@@ -410,12 +410,12 @@
if(isbrain(mob_occupant))
dna = B.stored_dna
if(!can_scan(dna, mob_occupant, FALSE, has_bank_account))
if(HAS_TRAIT(mob_occupant, TRAIT_NEVER_CLONE))
scantemp = "Subject has an active DNC record on file. Unable to clone."
playsound(src, 'sound/machines/terminal_alert.ogg', 50, 0)
return
if(HAS_TRAIT(mob_occupant, TRAIT_NEVER_CLONE))
scantemp = "<font class='bad'>Subject has an active DNC record on file. Unable to clone.</font>"
playsound(src, 'sound/machines/terminal_alert.ogg', 50, 0)
if(!can_scan(dna, mob_occupant, FALSE, has_bank_account))
return
var/datum/data/record/R = new()