Tweak the code, adds a couple of ❄️ to make it work

This commit is contained in:
Yoshax
2016-10-25 19:18:01 +01:00
parent 3d5146cf9a
commit cf35da203b
2 changed files with 4 additions and 2 deletions
-2
View File
@@ -284,11 +284,9 @@ BLIND // can't see anything
if(toggleable && !user.incapacitated())
on = !on
if(on)
flash_protection = FLASH_PROTECTION_NONE
src.hud = hud_holder
to_chat(user, "You switch the [src] to HUD mode.")
else
flash_protection = initial(flash_protection)
src.hud = null
to_chat(user, "You switch \the [src] to flash protection mode.")
update_icon()
@@ -677,6 +677,10 @@
number -= 1
if(istype(src.glasses, /obj/item/clothing/glasses/sunglasses))
number += 1
if(istype(src.glasses, /obj/item/clothing/glasses/sunglasses/sechud/toggle))
var/obj/item/clothing/glasses/sunglasses/sechud/toggle/S = src.glasses
if(!S.on)
number += 1
if(istype(src.glasses, /obj/item/clothing/glasses/welding))
var/obj/item/clothing/glasses/welding/W = src.glasses
if(!W.up)