mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
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 🆑 fix: Sec huds should properly label targets with the new record system /🆑
This commit is contained in:
@@ -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!
|
||||
************************************************/
|
||||
|
||||
Reference in New Issue
Block a user