mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Fixes ctrl-click not enabling suit sensors (#86599)
## About The Pull Request Fixes the ctrl-click action on undershirt clothing changing the suit sensors mode var but not calling the proc required to have the sensors added to the tracking list. ## Changelog 🆑 LT3 fix: Ctrl+click on equipped uniforms enables suit sensors as expected /🆑
This commit is contained in:
@@ -379,10 +379,7 @@
|
||||
if(SENSOR_COORDS)
|
||||
to_chat(user_mob, span_notice("Your suit will now report your exact vital lifesigns as well as your coordinate position."))
|
||||
|
||||
if(ishuman(loc))
|
||||
var/mob/living/carbon/human/H = loc
|
||||
if(H.w_uniform == src)
|
||||
H.update_suit_sensors()
|
||||
update_wearer_status()
|
||||
|
||||
/obj/item/clothing/under/item_ctrl_click(mob/user)
|
||||
if(!can_toggle_sensors(user))
|
||||
@@ -390,6 +387,7 @@
|
||||
|
||||
sensor_mode = SENSOR_COORDS
|
||||
balloon_alert(user, "set to tracking")
|
||||
update_wearer_status()
|
||||
return CLICK_ACTION_SUCCESS
|
||||
|
||||
/// Checks if the toggler is allowed to toggle suit sensors currently
|
||||
|
||||
Reference in New Issue
Block a user