Skip to content

Commit

Permalink
crewlist fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Legendaxe committed Oct 21, 2023
1 parent bddc3c4 commit ed34257
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modular_ss220/credits/code/credits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
var/list/streamers = list()

for(var/iterator_key in GLOB.configuration.admin.ckey_rank_map)
if(!(GLOB.configuration.admin.ckey_rank_map[iterator_key] == "Streamer"))
if(!(GLOB.configuration.admin.ckey_rank_map[iterator_key] == "Банда"))
continue

var/ckey = ckey(iterator_key)
Expand Down Expand Up @@ -255,11 +255,13 @@
continue
if(!human.last_known_ckey)
continue
if(!human.mind?.assigned_role)
continue

if(!length(cast) && !chunksize)
cast += "<hr>"
chunk += "<h1>В съемках участвовали:</h1>"
chunk += "[human.real_name] [human.mind.assigned_role ? "в роли [uppertext(human.mind.assigned_role)]" : "" ]"
chunk += "[human.real_name] в роли [uppertext(human.mind.assigned_role)]"
chunksize++
if(chunksize > 2)
cast += "<center>[jointext(chunk,"<br>")]</center>"
Expand Down

0 comments on commit ed34257

Please sign in to comment.