From 0cabcaacfc54d9d551fe814c11a9e643ad7d359d Mon Sep 17 00:00:00 2001 From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Date: Sun, 14 Mar 2021 06:41:42 -0400 Subject: [PATCH] Prevents the look of Krav maga from being changed in a washing machine (#15522) * Prevents the look of Krav maga from being changed in a washing machine * Apply suggestions from code review Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com> Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com> --- code/game/machinery/washing_machine.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/machinery/washing_machine.dm b/code/game/machinery/washing_machine.dm index a48fa88b96a..a5120327f4c 100644 --- a/code/game/machinery/washing_machine.dm +++ b/code/game/machinery/washing_machine.dm @@ -272,6 +272,9 @@ if( istype(W,/obj/item/clothing/gloves/furgloves ) ) to_chat(user, "This item does not fit.") return + if(istype(W, /obj/item/clothing/gloves/color/black/krav_maga/sec)) + to_chat(user, "Washing these gloves would fry the electronics!") + return if(W.flags & NODROP) //if "can't drop" item to_chat(user, "\The [W] is stuck to your hand, you cannot put it in the washing machine!") return