mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 12:05:59 +01:00
Merge pull request #41144
This commit is contained in:
@@ -3,4 +3,17 @@
|
||||
var/list/logging = list()
|
||||
var/list/post_login_callbacks = list()
|
||||
var/list/post_logout_callbacks = list()
|
||||
var/byond_version = "Unknown"
|
||||
var/list/played_names = list() //List of names this key played under this round
|
||||
var/byond_version = "Unknown"
|
||||
|
||||
/proc/log_played_names(ckey, ...)
|
||||
if(!ckey)
|
||||
return
|
||||
if(args.len < 2)
|
||||
return
|
||||
var/list/names = args.Copy(2)
|
||||
var/datum/player_details/P = GLOB.player_details[ckey]
|
||||
if(P)
|
||||
for(var/name in names)
|
||||
if(name)
|
||||
P.played_names |= name
|
||||
|
||||
Reference in New Issue
Block a user