mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fixes wrapping objects (#29125)
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
/obj/item/stack/wrapping_paper/use(used, transfer)
|
/obj/item/stack/wrapping_paper/use(used, transfer)
|
||||||
var/turf/T = get_turf(src)
|
var/turf/T = get_turf(src)
|
||||||
..()
|
. = ..()
|
||||||
if(QDELETED(src) && !transfer)
|
if(QDELETED(src) && !transfer)
|
||||||
new /obj/item/weapon/c_tube(T)
|
new /obj/item/weapon/c_tube(T)
|
||||||
|
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
|
|
||||||
/obj/item/stack/packageWrap/use(used, transfer = FALSE)
|
/obj/item/stack/packageWrap/use(used, transfer = FALSE)
|
||||||
var/turf/T = get_turf(src)
|
var/turf/T = get_turf(src)
|
||||||
..()
|
. = ..()
|
||||||
if(QDELETED(src) && !transfer)
|
if(QDELETED(src) && !transfer)
|
||||||
new /obj/item/weapon/c_tube(T)
|
new /obj/item/weapon/c_tube(T)
|
||||||
|
|
||||||
@@ -114,4 +114,4 @@
|
|||||||
throwforce = 0
|
throwforce = 0
|
||||||
w_class = WEIGHT_CLASS_TINY
|
w_class = WEIGHT_CLASS_TINY
|
||||||
throw_speed = 3
|
throw_speed = 3
|
||||||
throw_range = 5
|
throw_range = 5
|
||||||
|
|||||||
Reference in New Issue
Block a user