Item Extended Description Fix (#19442)

Fixes items with extended descriptions not displaying them properly.
Fixed #19418
This commit is contained in:
Sparky
2024-06-14 14:21:58 +00:00
committed by GitHub
parent 2e3b21ec41
commit 34729533a4
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -354,7 +354,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.")
. = ..(user, distance, "", "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=?src=\ref[src];examine_armor=1>\[Show Armor Values\]</a>"))