mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
More Overload Lighting Performance
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
apc.overload_lighting()
|
||||
|
||||
else
|
||||
for(var/obj/machinery/power/apc/apc in machines)
|
||||
for(var/obj/machinery/power/apc/apc in apcs)
|
||||
apc.overload_lighting()
|
||||
|
||||
return
|
||||
|
||||
@@ -289,7 +289,7 @@ rcd light flash thingy on matter drain
|
||||
for(var/datum/AI_Module/small/blackout/blackout in current_modules)
|
||||
if(blackout.uses > 0)
|
||||
blackout.uses --
|
||||
for(var/obj/machinery/power/apc/apc in world)
|
||||
for(var/obj/machinery/power/apc/apc in apcs)
|
||||
if(prob(30*apc.overload))
|
||||
apc.overload_lighting()
|
||||
else
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
|
||||
|
||||
// Check station's power levels
|
||||
for(var/obj/machinery/power/apc/A in machines)
|
||||
for(var/obj/machinery/power/apc/A in apcs)
|
||||
// TODO: Tie into space manager
|
||||
if(!(A.z in config.station_levels)) continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user