mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
Fixes reading paper bundles and removing accessories on other people (#21214)
Apparently the adjacent check wasn't set properly on these two. Also it fixes that when removing someone's accessory, it tried to apply some modifiers to the one removing it instead of the one wearing it.
This commit is contained in:
@@ -337,7 +337,7 @@
|
||||
//Changed this switch to ranges instead of tiered values, to cope with granularity and also
|
||||
//things outside its range ~Nanako
|
||||
|
||||
. = ..(user, distance, "", "It is a [size] item.", get_extended = get_extended)
|
||||
. = ..(user, distance, is_adjacent, "It is a [size] item.", get_extended = get_extended)
|
||||
var/datum/component/armor/armor_component = GetComponent(/datum/component/armor)
|
||||
if(armor_component)
|
||||
. += FONT_SMALL(SPAN_NOTICE("\[?\] This item has armor values. <a href='byond://?src=[REF(src)];examine_armor=1'>\[Show Armor Values\]</a>"))
|
||||
|
||||
Reference in New Issue
Block a user