mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Rewrite examine() to pass a list around
This commit is contained in:
@@ -82,9 +82,8 @@ var/global/list/obj/machinery/message_server/message_servers = list()
|
||||
return
|
||||
|
||||
/obj/machinery/message_server/examine(mob/user, distance, infix, suffix)
|
||||
if(..())
|
||||
to_chat(user, "It appears to be [active ? "online" : "offline"].")
|
||||
|
||||
. = ..()
|
||||
. += "It appears to be [active ? "online" : "offline"]."
|
||||
|
||||
/obj/machinery/message_server/proc/GenerateKey()
|
||||
//Feel free to move to Helpers.
|
||||
|
||||
Reference in New Issue
Block a user