Cigar(ette) butts now stay in your mask sot when they burn out (#27989)

* FINALLY

* Try to fix linters

---------

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
DGamerL
2025-02-04 09:02:39 +01:00
committed by GitHub
parent 1a73339869
commit dfd642799c
3 changed files with 9 additions and 4 deletions
+4
View File
@@ -290,6 +290,10 @@ LIGHTERS ARE IN LIGHTERS.DM
var/mob/living/M = loc
to_chat(M, "<span class='notice'>Your [name] goes out.</span>")
M.drop_item_to_ground(src, force = TRUE) //Force the un-equip so the overlays update
butt.slot_flags |= ITEM_SLOT_MASK // Temporarily allow it to go on masks
M.equip_to_slot_if_possible(butt, ITEM_SLOT_MASK)
butt.slot_flags &= ~ITEM_SLOT_MASK
STOP_PROCESSING(SSobj, src)
qdel(src)