mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 06:40:08 +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
@@ -171,7 +171,8 @@
|
||||
return
|
||||
|
||||
/obj/vehicle/emp_act(severity, recursive)
|
||||
if(!mechanical)
|
||||
. = ..()
|
||||
if (. & EMP_PROTECT_SELF || !mechanical)
|
||||
return
|
||||
|
||||
var/was_on = on
|
||||
|
||||
Reference in New Issue
Block a user