Makes code 513.1537 compliant (#15093)

* Makes code 513.1537 compliant

* Apply suggestions from code review

Co-authored-by: Farie82 <joepvelden@hotmail.com>

Co-authored-by: Farie82 <joepvelden@hotmail.com>
This commit is contained in:
AffectedArc07
2020-12-12 08:57:57 -05:00
committed by GitHub
co-authored by Farie82
parent 397d804bc6
commit 5ccbbf1192
5 changed files with 9 additions and 5 deletions
+2 -1
View File
@@ -1248,7 +1248,8 @@
if(has_antag_datum(/datum/antagonist/traitor/contractor))
return
var/datum/antagonist/traitor/T = has_antag_datum(/datum/antagonist/traitor)
var/memory = T?.antag_memory // Need to preserve the codewords and such
var/memory
memory = T?.antag_memory // Need to preserve the codewords and such
// Replace the traitor datum by a contractor one
remove_antag_datum(/datum/antagonist/traitor)
C = new()