mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-16 21:22:40 +00:00
assorted tcomms housekeeping
split some files, merged some files, cleaned some code removed spurious listening level toggle from relays
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
/n_Interpreter/TCS_Interpreter
|
||||
var/datum/TCS_Compiler/Compiler
|
||||
|
||||
/n_Interpreter/TCS_Interpreter/Destroy()
|
||||
QDEL_NULL(Compiler)
|
||||
return ..()
|
||||
|
||||
/n_Interpreter/TCS_Interpreter/HandleError(runtimeError/e)
|
||||
Compiler.Holder.add_entry(e.ToString(), "Execution Error")
|
||||
|
||||
@@ -15,6 +19,11 @@
|
||||
var/obj/machinery/telecomms/server/Holder // the server that is running the code
|
||||
var/ready = 1 // 1 if ready to run code
|
||||
|
||||
/datum/TCS_Compiler/Destroy()
|
||||
QDEL_NULL(interpreter)
|
||||
Holder = null
|
||||
return ..()
|
||||
|
||||
/** Proc: Compile
|
||||
* Compile a raw block of text into a program
|
||||
* Returns: List of errors
|
||||
@@ -278,4 +287,3 @@
|
||||
var/pass = S.relay_information(newsign, /obj/machinery/telecomms/hub)
|
||||
if(!pass)
|
||||
S.relay_information(newsign, /obj/machinery/telecomms/broadcaster) // send this simple message to broadcasters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user