Suit storage unit wires now be accessible when electrocuted and hacked UV radiation properly destroys contents (#14912)

* Wires now work when electrocuted and UV deletes contents

* Minor fix attackby and attack_hand

* Minor spacing changes
This commit is contained in:
Adrer
2020-11-18 19:10:24 +01:00
committed by GitHub
parent 96f0652115
commit aeb6895d23
2 changed files with 23 additions and 46 deletions
-2
View File
@@ -19,8 +19,6 @@
/datum/wires/suitstorage/interactable(mob/user)
var/obj/machinery/suit_storage_unit/A = holder
if(iscarbon(user) && A.Adjacent(user) && A.shocked)
return A.shock(user, 100)
if(A.panel_open)
return TRUE
return FALSE