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
+1 -1
View File
@@ -6,6 +6,6 @@ export NODE_VERSION=12
# Byond Major
export BYOND_MAJOR=513
# Byond Minor
export BYOND_MINOR=1526
export BYOND_MINOR=1537
# For the RUSTG library. Not actually installed by CI but kept as a reference
export RUSTG_VERSION=2.1-P
+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()
@@ -15,7 +15,8 @@
return
page = newpage
if("extract")
var/error_message = current_contract?.start_extraction_process(ui_host(), usr)
var/error_message
error_message = current_contract?.start_extraction_process(ui_host(), usr)
if(length(error_message))
to_chat(usr, "<span class='warning'>[error_message]</span>")
if("claim")
@@ -368,7 +368,8 @@
/mob/living/simple_animal/hostile/floor_cluwne/proc/Kill(mob/living/carbon/human/H)
playsound(H, 'sound/spookoween/scary_horn2.ogg', 100, 0)
var/old_color = H.client?.color
var/old_color
old_color = H.client?.color
client_kill_animation(H)
for(var/turf/T in orange(H, 4))
+2 -1
View File
@@ -365,7 +365,8 @@
playsound(loc, 'sound/machines/terminal_insert_disc.ogg', 30, TRUE)
else if(issilicon(usr))
var/mob/living/silicon/M = usr
var/datum/picture/selection = M.aiCamera?.selectpicture()
var/datum/picture/selection
selection = M.aiCamera?.selectpicture()
if(!selection)
return
var/obj/item/photo/P = new