Some changes suggested by lummox

This commit is contained in:
oranges
2020-01-05 05:12:06 +00:00
parent 9e27b8df13
commit 70bb8fde34
3 changed files with 12 additions and 10 deletions
+4 -3
View File
@@ -4,6 +4,7 @@ GLOBAL_LIST_EMPTY(clientmessages)
ckey = ckey(ckey)
if (!ckey || !message)
return
if (!(ckey in GLOB.clientmessages))
GLOB.clientmessages[ckey] = list()
GLOB.clientmessages[ckey] += message
var/list/L = GLOB.clientmessages[ckey]
if(!L)
GLOB.clientmessages[ckey] = L = list()
L += message