Fixes wrapping objects (#29125)

This commit is contained in:
Jordan Brown
2017-07-09 11:13:15 -04:00
committed by Joan Lung
parent 9e3e8e9df6
commit 1e173f96c6

View File

@@ -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