Breaker boxes no longer set_state twice (in Initialize and LateInitialize) thus spawning overlapping cables in each direction and failing unit test for power cables.

This commit is contained in:
mikomyazaki
2022-03-06 18:03:40 +00:00
parent bf7df9d71f
commit b1b29a740e

View File

@@ -141,8 +141,3 @@
/obj/machinery/power/breakerbox/activated
icon_state = "bbox_on"
// Enabled on server startup. Used in substations to keep them in bypass mode.
/obj/machinery/power/breakerbox/activated/Initialize()
. = ..()
set_state(1)