From 163226f10eec5d98d6fb51806c07979c2af4845e Mon Sep 17 00:00:00 2001 From: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com> Date: Mon, 27 May 2024 23:10:12 +0200 Subject: [PATCH] Update headset.dm --- code/game/objects/items/devices/radio/headset.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/devices/radio/headset.dm b/code/game/objects/items/devices/radio/headset.dm index 22cbd3206898..87b18ccfdab2 100644 --- a/code/game/objects/items/devices/radio/headset.dm +++ b/code/game/objects/items/devices/radio/headset.dm @@ -417,7 +417,7 @@ var/obj/item/card/id/id_card = wearer.wear_id?.GetID() if(!istype(id_card)) return - var/paygrade = wearer.get_paygrade() + var/paygrade = get_paygrade_id_by_name(wearer.get_paygrade(FALSE)) var/last_number = text2num(copytext(paygrade, length(paygrade), length(paygrade)+1)) if(!(findtext(paygrade, "O") || last_number >= 4)) to_chat(wearer, SPAN_WARNING("Only officers or NCO's (ME4+) can recommend medals!"))