mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-12 08:27:13 +01:00
Fix indentations (#17481)
* cbt * AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA * fsadffsda sad * sadfasd * jhn * dsfa * saf * safsad * sda
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Datum representing program state on deamon and exposing apropriate procs to DM.
|
||||
Datum representing program state on deamon and exposing apropriate procs to DM.
|
||||
*/
|
||||
/datum/ntsl2_program/
|
||||
var/id = 0
|
||||
@@ -18,10 +18,10 @@ Datum representing program state on deamon and exposing apropriate procs to DM.
|
||||
SSntsl2.send_task("remove", list(id = id))
|
||||
SSntsl2.handle_termination(src)
|
||||
qdel(src)
|
||||
|
||||
|
||||
/datum/ntsl2_program/proc/execute(var/script, var/mob/user)
|
||||
if(!is_ready())
|
||||
ready_tasks += CALLBACK(src, PROC_REF(execute), script, user)
|
||||
return FALSE // We are not ready to run code
|
||||
log_ntsl("[user.name]/[user.key] uploaded script to [src] : [script]", SEVERITY_NOTICE, user.ckey)
|
||||
return SSntsl2.send_task("execute", list(id = id, code = script), program = src)
|
||||
return SSntsl2.send_task("execute", list(id = id, code = script), program = src)
|
||||
|
||||
Reference in New Issue
Block a user