Makes the towel keep its name and description when unfolded on the floor (#21807)

As per the title. It was reset before if you changed it in the loadout.
This fixes that.
This commit is contained in:
Casper3667
2026-02-06 20:26:43 +00:00
committed by GitHub
parent c4c589fc05
commit c9b41505a1
2 changed files with 10 additions and 0 deletions
+4
View File
@@ -48,6 +48,8 @@
to_chat(usr, SPAN_NOTICE("You lay out \the [src] flat on the ground."))
var/obj/item/towel_flat/T = new /obj/item/towel_flat(usr.loc)
T.color = src.color
T.name = src.name
T.desc = src.desc
qdel(src)
/obj/item/towel_flat
@@ -60,5 +62,7 @@
to_chat(user, SPAN_NOTICE("You pick up and fold \the [src]."))
var/obj/item/towel/T = new /obj/item/towel(user)
T.color = src.color
T.name = src.name
T.desc = src.desc
user.put_in_hands(T)
qdel(src)