mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-06 07:23:16 +00:00
[MIRROR] EMP cleanup (#11939)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
18997e2c84
commit
e98a9f484a
@@ -234,7 +234,7 @@
|
||||
range = nrange
|
||||
change_power_consumption(1500 * (range**2), USE_POWER_IDLE) //Exponential increase, also affects speed of overheating
|
||||
|
||||
/obj/machinery/shipsensors/emp_act(severity)
|
||||
/obj/machinery/shipsensors/emp_act(severity, recursive)
|
||||
if(!use_power)
|
||||
return
|
||||
take_damage(20/severity)
|
||||
|
||||
Reference in New Issue
Block a user