Removes duplicate typecaches
This commit is contained in:
committed by
CitadelStationBot
parent
095839becf
commit
c51edc3bcd
@@ -10,15 +10,25 @@
|
||||
var/mob/living/carbon/attached = null
|
||||
var/mode = IV_INJECTING
|
||||
var/obj/item/reagent_containers/beaker = null
|
||||
<<<<<<< HEAD
|
||||
var/list/drip_containers = list(/obj/item/reagent_containers/blood,
|
||||
/obj/item/reagent_containers/food,
|
||||
/obj/item/reagent_containers/glass)
|
||||
=======
|
||||
var/static/list/drip_containers = typecacheof(list(/obj/item/reagent_containers/blood,
|
||||
/obj/item/reagent_containers/food,
|
||||
/obj/item/reagent_containers/glass))
|
||||
>>>>>>> 8e434b7... Removes duplicate typecaches (#31883)
|
||||
|
||||
/obj/machinery/iv_drip/Initialize()
|
||||
. = ..()
|
||||
update_icon()
|
||||
<<<<<<< HEAD
|
||||
drip_containers = typecacheof(drip_containers)
|
||||
|
||||
=======
|
||||
|
||||
>>>>>>> 8e434b7... Removes duplicate typecaches (#31883)
|
||||
/obj/machinery/iv_drip/Destroy()
|
||||
attached = null
|
||||
QDEL_NULL(beaker)
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
return
|
||||
|
||||
//Hangars and pods covered in oil.
|
||||
var/static/list/oily_areas = typecacheof(list(/area/quartermaster))
|
||||
var/static/list/oily_areas = typecacheof(/area/quartermaster)
|
||||
if(is_type_in_typecache(A, oily_areas))
|
||||
if(prob(25))
|
||||
new /obj/effect/decal/cleanable/oil(src)
|
||||
|
||||
Reference in New Issue
Block a user