From 37a8d796a6e6fccd6569acf03b74dd482e79c671 Mon Sep 17 00:00:00 2001 From: Twinmold Date: Sun, 31 Mar 2019 17:39:40 -0500 Subject: [PATCH] One Less Line All this does is turns the sanity check into a not check rather than an empty positive check. --- code/modules/paperwork/faxmachine.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/paperwork/faxmachine.dm b/code/modules/paperwork/faxmachine.dm index c5bb36b3dc2..8bad3f9bf6e 100644 --- a/code/modules/paperwork/faxmachine.dm +++ b/code/modules/paperwork/faxmachine.dm @@ -283,8 +283,7 @@ var/global/list/fax_blacklist = list() use_power(200) - if((istype(copyitem, /obj/item/paper))||(istype(copyitem, /obj/item/photo))||(istype(copyitem, /obj/item/paper_bundle))) - else + if((!istype(copyitem, /obj/item/paper))&&(!istype(copyitem, /obj/item/photo))&&(!istype(copyitem, /obj/item/paper_bundle))) visible_message("[src] beeps, \"Error transmitting message.\"") return