mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 22:57:39 +01:00
[MIRROR] EMP & Wires refactor (#12658)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Guti
Cameron Lennox
parent
494fc9bea9
commit
b116cc450d
@@ -126,6 +126,9 @@
|
||||
color = new_color
|
||||
|
||||
/obj/item/storage/wallet/poly/emp_act(severity, recursive)
|
||||
. = ..()
|
||||
if (. & EMP_PROTECT_SELF)
|
||||
return
|
||||
var/original_state = icon_state
|
||||
icon_state = "wallet-emp"
|
||||
update_icon()
|
||||
@@ -134,7 +137,6 @@
|
||||
if(src)
|
||||
icon_state = original_state
|
||||
update_icon()
|
||||
..()
|
||||
|
||||
/obj/item/storage/wallet/womens
|
||||
name = "women's wallet"
|
||||
|
||||
Reference in New Issue
Block a user