diff --git a/code/game/machinery/telecomms/traffic_control.dm b/code/game/machinery/telecomms/traffic_control.dm index 6fc03276f9b..da8669e45e0 100644 --- a/code/game/machinery/telecomms/traffic_control.dm +++ b/code/game/machinery/telecomms/traffic_control.dm @@ -90,30 +90,33 @@ } -
- +
+ +
- - + } + ); -
- - -
-
+ function compileCode() { + var codeText = cMirror_fSubmit.getValue(); + window.location = "byond://?src=\ref[src];choice=Compile;cMirror=" + encodeURIComponent(codeText); + } + + function clearCode() { + window.location = "byond://?src=\ref[src];choice=Clear;"; + } + + Compile + Clear
[compiling_errors] @@ -220,6 +223,7 @@ Server.memory = list() // clear the memory compiling_errors = "Server Memory Cleared!" + storedcode = null updateUsrDialog() if(href_list["viewserver"])