Adds a few LAZYLIST macros and documentation (#25590)

* wow none of this was documented!

* sentences two spaces to death

* corrects lazylen comment
This commit is contained in:
chuga-git
2024-06-06 20:14:28 +00:00
committed by GitHub
parent 27f63632d6
commit 9a4b4d3703
4 changed files with 38 additions and 17 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ SUBSYSTEM_DEF(chat)
var/client/client = CLIENT_FROM_VAR(target)
if(isnull(client))
continue
LAZYADDASSOC(client_to_payloads, client.ckey, generate_payload(client, message_data))
LAZYADDASSOCLIST(client_to_payloads, client.ckey, generate_payload(client, message_data))
/datum/controller/subsystem/chat/proc/send_immediate(send_target, list/message_data)
var/list/targets = islist(send_target) ? send_target : list(send_target)