mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
into the bin (#24289)
This commit is contained in:
@@ -176,13 +176,3 @@
|
||||
if(prob(MACHINE_FLICKER_CHANCE))
|
||||
powernet_apc?.flicker()
|
||||
|
||||
// lights don't have their own processing loop, so local powernets will be the father they never had. 3x as likely to cause a light flicker in a particular area, pick a light to flicker at random
|
||||
if(prob(MACHINE_FLICKER_CHANCE * 3))
|
||||
var/list/lights = list()
|
||||
for(var/obj/machinery/light/L in powernet_area)
|
||||
lights += L
|
||||
|
||||
if(length(lights))
|
||||
var/obj/machinery/light/picked_light = pick(lights)
|
||||
ASSERT(istype(picked_light))
|
||||
picked_light.flicker()
|
||||
|
||||
Reference in New Issue
Block a user