From 51a831288ed14b59d736bba1e0d183ccd1d6f181 Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Sat, 30 Nov 2024 23:35:23 -0500 Subject: [PATCH] Admin Jsons now have proper assignments and ranks (#27502) --- code/game/objects/items/weapons/cards_ids.dm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/weapons/cards_ids.dm b/code/game/objects/items/weapons/cards_ids.dm index 6bf01556f51..c8558c182c5 100644 --- a/code/game/objects/items/weapons/cards_ids.dm +++ b/code/game/objects/items/weapons/cards_ids.dm @@ -303,7 +303,8 @@ data["dna_hash"] = dna_hash data["fprint_hash"] = fingerprint_hash data["access"] = access - data["job"] = assignment + data["assignment"] = assignment + data["rank"] = rank data["account"] = associated_account_number data["owner"] = registered_name data["mining"] = mining_points @@ -317,7 +318,9 @@ dna_hash = data["dna_hash"] fingerprint_hash = data["fprint_hash"] access = data["access"] // No need for a copy, the list isn't getting touched - assignment = data["job"] + assignment = data["job"] // backup for old jsons + assignment = data["assignment"] + rank = data["rank"] associated_account_number = data["account"] registered_name = data["owner"] mining_points = data["mining"]