Fixes showers breaking lighting objects.

This commit is contained in:
CitadelStationBot
2017-08-05 12:20:37 -05:00
parent 9bbd150aac
commit 7f7aed0112
+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))