From 843ebeee553409d95e2f0e2b7739079da4b7b666 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Tue, 25 Jun 2024 02:04:06 +0200 Subject: [PATCH] Revert "TEG can power itself when turned on (#29072)" This reverts commit 9f9cf08d722d203baf0e6ddcf59b90c40fa40a32. --- Content.Server/Power/Generation/Teg/TegSystem.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Content.Server/Power/Generation/Teg/TegSystem.cs b/Content.Server/Power/Generation/Teg/TegSystem.cs index 30b846bd823b..02412ca5fb54 100644 --- a/Content.Server/Power/Generation/Teg/TegSystem.cs +++ b/Content.Server/Power/Generation/Teg/TegSystem.cs @@ -181,12 +181,7 @@ private void GeneratorUpdate(EntityUid uid, TegGeneratorComponent component, ref // Turn energy (at atmos tick rate) into wattage. var power = electricalEnergy / args.dt; // Add ramp factor. This magics slight power into existence, but allows us to ramp up. - power *= component.RampFactor; - - // Simulate TEG powering itself after being started up. This means that if LV is lost this keeps running. - const float load = 1000; - supplier.MaxSupply = Math.Max(power - load, 0); - powerReceiver.Load = Math.Max(load - power, 0); + supplier.MaxSupply = power * component.RampFactor; var circAComp = Comp(circA); var circBComp = Comp(circB);