Fixes modular computers not exploding (#23624)

This commit is contained in:
Cyberboss
2017-02-03 05:05:05 -05:00
committed by AnturK
parent a810b24ba0
commit 0ad1d2fa3f

View File

@@ -141,6 +141,7 @@ var/list/global_modular_computers = list()
/obj/machinery/modular_computer/ex_act(severity)
if(cpu)
cpu.ex_act(severity)
..()
// EMPs are similar to explosions, but don't cause physical damage to the casing. Instead they screw up the components
/obj/machinery/modular_computer/emp_act(severity)
@@ -152,4 +153,4 @@ var/list/global_modular_computers = list()
// "Brute" damage mostly damages the casing.
/obj/machinery/modular_computer/bullet_act(obj/item/projectile/Proj)
if(cpu)
cpu.bullet_act(Proj)
cpu.bullet_act(Proj)