mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Fixes Newscaster Treatment of Wallets (#27121)
* move GetNameAndAssignmentFromId to cards_ids file * simplyfiy and fix newscaster's get_scanned_user Use human/get_id_card proc instead of custom solution. * rename M to human_user * Update code/modules/newscaster/obj/newscaster.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> Signed-off-by: Sean <12197162+S34NW@users.noreply.github.com> --------- Signed-off-by: Sean <12197162+S34NW@users.noreply.github.com> Co-authored-by: Sean <12197162+S34NW@users.noreply.github.com> Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
co-authored by
Henri215
Sean
parent
a8d322939c
commit
b4d1bd1411
@@ -1191,3 +1191,7 @@
|
||||
return "Thunderdome Green"
|
||||
else
|
||||
return capitalize(skin)
|
||||
|
||||
/proc/GetNameAndAssignmentFromId(obj/item/card/id/I)
|
||||
// Format currently matches that of newscaster feeds: Registered Name (Assigned Rank)
|
||||
return I.assignment ? "[I.registered_name] ([I.assignment])" : I.registered_name
|
||||
|
||||
Reference in New Issue
Block a user