mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
POLARIS: Fix cutting of bedsheets while holding them.
Cutting bedsheets while holding them dropped the resulting rags in the mob's contents.
This commit is contained in:
@@ -32,7 +32,7 @@ LINEN BINS
|
|||||||
if(do_after(user, 50))
|
if(do_after(user, 50))
|
||||||
user << "<span class='notice'>You cut [src] into pieces!</span>"
|
user << "<span class='notice'>You cut [src] into pieces!</span>"
|
||||||
for(var/i in 1 to rand(2,5))
|
for(var/i in 1 to rand(2,5))
|
||||||
new /obj/item/weapon/reagent_containers/glass/rag(src.loc)
|
new /obj/item/weapon/reagent_containers/glass/rag(drop_location())
|
||||||
qdel(src)
|
qdel(src)
|
||||||
return
|
return
|
||||||
..()
|
..()
|
||||||
|
|||||||
Reference in New Issue
Block a user