From aa3a290cf2eabbcecdc97491e3bb24025f0ed8fc Mon Sep 17 00:00:00 2001 From: Giacomand Date: Mon, 14 Apr 2014 22:51:37 +0100 Subject: [PATCH] Even more refactoring. --- code/modules/clothing/shoes/magboots.dm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/modules/clothing/shoes/magboots.dm b/code/modules/clothing/shoes/magboots.dm index 97d86710850..2900a5dc63d 100644 --- a/code/modules/clothing/shoes/magboots.dm +++ b/code/modules/clothing/shoes/magboots.dm @@ -31,10 +31,7 @@ /obj/item/clothing/shoes/magboots/examine() set src in view() ..() - var/state = "disabled" - if(src.flags&NOSLIP) - state = "enabled" - usr << "Its mag-pulse traction system appears to be [state]." + usr << "Its mag-pulse traction system appears to be [magpulse ? "enabled" : "disabled"]." /obj/item/clothing/shoes/magboots/advance