mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Fixes helmets sometimes getting stuck on the screen after closing your inventory (#31512)
* Removes extraneous call * Whoops
This commit is contained in:
@@ -81,12 +81,6 @@
|
||||
/datum/element/clothing_adjustment/skulk_headgear/on_item_dropped(datum/source, mob/target)
|
||||
UnregisterSignal(target, list(COMSIG_CARBON_APPLY_OVERLAY))
|
||||
|
||||
var/mob/living/carbon/human/human = target
|
||||
if(!istype(human))
|
||||
return
|
||||
|
||||
human.update_inv_head()
|
||||
|
||||
/datum/element/clothing_adjustment/skulk_headgear/proc/on_carbon_apply_overlay(mob/living/carbon/human/source, cache_index)
|
||||
SIGNAL_HANDLER // COMSIG_CARBON_APPLY_OVERLAY
|
||||
if(cache_index != HEAD_LAYER || !istype(source))
|
||||
|
||||
Reference in New Issue
Block a user