Fixes showers breaking lighting objects. (#29706)

This commit is contained in:
AnturK
2017-08-05 09:43:00 -03:00
committed by Leo
parent 6f299ca0ce
commit d1bb1686cb
+2 -2
View File
@@ -222,7 +222,7 @@
if(isliving(G))
var/mob/living/L = G
wash_mob(L)
else
else if(isobj(G)) // Skip the light objects
wash_obj(G)
else
if(isopenturf(loc))
@@ -286,7 +286,7 @@
wash_obj(O)
/obj/machinery/shower/proc/wash_obj(atom/movable/O)
/obj/machinery/shower/proc/wash_obj(obj/O)
. = O.clean_blood()
O.remove_atom_colour(WASHABLE_COLOUR_PRIORITY)
if(isitem(O))