mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
fixes ais being unable to use cameras after an emp sometimes (#21974)
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
network = list()
|
||||
stat |= EMPED
|
||||
turn_off(null, FALSE, TRUE)
|
||||
addtimer(CALLBACK(src, PROC_REF(reactivate_after_emp)), (90 / severity) SECONDS, TIMER_UNIQUE | TIMER_OVERRIDE)
|
||||
addtimer(CALLBACK(src, PROC_REF(reactivate_after_emp)), (90 / severity) SECONDS, TIMER_UNIQUE | TIMER_OVERRIDE)
|
||||
..()
|
||||
|
||||
/obj/machinery/camera/proc/reactivate_after_emp()
|
||||
|
||||
@@ -59,11 +59,13 @@
|
||||
stat &= BROKEN
|
||||
if(prob(75))
|
||||
explode()
|
||||
return
|
||||
if(2)
|
||||
if(prob(25))
|
||||
stat &= BROKEN
|
||||
if(prob(10))
|
||||
explode()
|
||||
return
|
||||
if(3)
|
||||
if(prob(10))
|
||||
stat &= BROKEN
|
||||
|
||||
Reference in New Issue
Block a user