[MIRROR] Some more Init and Destroy issues (#10317)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-06 04:36:25 -07:00
committed by GitHub
parent 5e90dd067f
commit 5aad34f339
35 changed files with 165 additions and 109 deletions

View File

@@ -695,12 +695,12 @@
// Starts fully charged
/obj/machinery/power/shield_generator/charged/Initialize()
/obj/machinery/power/shield_generator/charged/Initialize(mapload)
. = ..()
current_energy = max_energy
// Starts with the best SMES coil and capacitor (and fully charged)
/obj/machinery/power/shield_generator/upgraded/Initialize()
/obj/machinery/power/shield_generator/upgraded/Initialize(mapload)
. = ..()
for(var/obj/item/smes_coil/sc in component_parts)
component_parts -= sc