mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
[MIRROR] Fix APC related issues [MDB IGNORE] (#22635)
* Fix APC related issues (#77005) ## About The Pull Request Fixes a bunch of stuff broken by #76822, including APC control console, malf blackout ability, shunted malf pinpointing, Admin APC recharge and others. ## Why It's Good For The Game Yes. ## Changelog :cl:Thebleh fix: Fixed several APC related issues. /🆑 * Fix APC related issues --------- Co-authored-by: thebleh <43266738+rdragan@users.noreply.github.com>
This commit is contained in:
@@ -30,6 +30,6 @@
|
||||
return
|
||||
|
||||
for(var/centre in epicentreList)
|
||||
for(var/obj/machinery/power/apc/apc as anything in SSmachines.get_machines_by_type(/obj/machinery/power/apc))
|
||||
for(var/obj/machinery/power/apc/apc as anything in SSmachines.get_machines_by_type_and_subtypes(/obj/machinery/power/apc))
|
||||
if(get_dist(centre, apc) <= lightsoutRange)
|
||||
apc.overload_lighting()
|
||||
|
||||
Reference in New Issue
Block a user