mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
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. /🆑
This commit is contained in:
@@ -299,7 +299,7 @@
|
||||
areas_all.Add(A.type)
|
||||
CHECK_TICK
|
||||
|
||||
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))
|
||||
var/area/A = APC.area
|
||||
if(!A)
|
||||
dat += "Skipped over [APC] in invalid location, [APC.loc]."
|
||||
|
||||
Reference in New Issue
Block a user