mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-12 15:42:49 +01:00
Tweak the code, adds a couple of ❄️ to make it work
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user