From 6459d572a2bd1cdd75b0a1495040e69caafabe5b Mon Sep 17 00:00:00 2001 From: Jeremiah <42397676+jlsnow301@users.noreply.github.com> Date: Wed, 25 Jan 2023 12:01:06 -0800 Subject: [PATCH] Hotfixes sechuds on records [NO GBP] (#72948) ## About The Pull Request Fixes an issue where sechuds weren't activating or clearing properly ## Why It's Good For The Game Bug fixes ## Changelog :cl: fix: Sec huds should properly label targets with the new record system /:cl: --- code/game/data_huds.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/data_huds.dm b/code/game/data_huds.dm index 023d528d9d5..64bd9cd3400 100644 --- a/code/game/data_huds.dm +++ b/code/game/data_huds.dm @@ -312,6 +312,8 @@ Security HUDs! Basic mode shows only the job. var/datum/record/crew/target = find_record(perp_name) if(!target || target.wanted_status == WANTED_NONE) + holder.icon_state = null + set_hud_image_inactive(WANTED_HUD) return switch(target.wanted_status) @@ -326,6 +328,8 @@ Security HUDs! Basic mode shows only the job. if(WANTED_DISCHARGED) holder.icon_state = "huddischarged" + set_hud_image_active(WANTED_HUD) + /*********************************************** Diagnostic HUDs! ************************************************/