From 50fc0697b8ab8f57940e8eb03785a47e4ec73f29 Mon Sep 17 00:00:00 2001 From: Bierkraan Date: Sun, 12 May 2024 20:19:29 +0200 Subject: [PATCH] Fix cell chargers --- code/modules/1713/machinery/cell.dm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/modules/1713/machinery/cell.dm b/code/modules/1713/machinery/cell.dm index 5db6359468..b8142f21f6 100644 --- a/code/modules/1713/machinery/cell.dm +++ b/code/modules/1713/machinery/cell.dm @@ -138,6 +138,14 @@ var/chargelevel = -1 var/charge_rate = 20 //This is the power drawn when charging, given in Watts (may need to be adjusted) +/obj/machinery/cell_charger/New() + ..() + processing_objects += src + +/obj/machinery/cell_charger/Del() + processing_objects -= src + ..() + /obj/machinery/cell_charger/update_icon() icon_state = "ccharger[charging ? 1 : 0]"