Fixes suitsensors not working (#11145)

Indentation error resulted in new code not being logically equivalent to old code.
This commit is contained in:
Erki
2021-02-05 23:30:24 +02:00
committed by GitHub
parent e85b65930d
commit 8eff251d59
2 changed files with 7 additions and 17 deletions

View File

@@ -575,8 +575,8 @@ var/global/list/obj/machinery/telecomms/telecomms_list = list()
if(istype(Program)) if(istype(Program))
Program.process_message(signal, CALLBACK(src, .proc/program_receive_information, signal)) Program.process_message(signal, CALLBACK(src, .proc/program_receive_information, signal))
else
finish_receive_information(signal) finish_receive_information(signal)
/obj/machinery/telecomms/server/proc/program_receive_information(datum/signal/signal) /obj/machinery/telecomms/server/proc/program_receive_information(datum/signal/signal)
Program.retrieve_messages(CALLBACK(src, .proc/finish_receive_information, signal)) Program.retrieve_messages(CALLBACK(src, .proc/finish_receive_information, signal))
@@ -592,21 +592,6 @@ var/global/list/obj/machinery/telecomms/telecomms_list = list()
if(istype(Program)) if(istype(Program))
Program.retrieve_messages() Program.retrieve_messages()
/*
/obj/machinery/telecomms/server/proc/setcode(var/t)
if(t)
if(istext(t))
rawcode = t
*/
/*
/obj/machinery/telecomms/server/proc/compile()
if(Compiler)
var/er = Compiler.Compile(rawcode)
if(istype(Compiler.running_code))
Compiler.running_code.S = src
return er
*/
/obj/machinery/telecomms/server/proc/update_logs() /obj/machinery/telecomms/server/proc/update_logs()
// start deleting the very first log entry // start deleting the very first log entry
if(logs >= 400) if(logs >= 400)

View File

@@ -0,0 +1,5 @@
author: Skull132
delete-after: True
changes:
- bugfix: "Fixed suitsensors."