mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-04 13:27:30 +00:00
Fix incorrect use of atmos dt (#29112)
This commit is contained in:
@@ -179,7 +179,7 @@ public sealed class TegSystem : EntitySystem
|
||||
component.LastGeneration = electricalEnergy;
|
||||
|
||||
// Turn energy (at atmos tick rate) into wattage.
|
||||
var power = electricalEnergy * _atmosphere.AtmosTickRate;
|
||||
var power = electricalEnergy / args.dt;
|
||||
// Add ramp factor. This magics slight power into existence, but allows us to ramp up.
|
||||
supplier.MaxSupply = power * component.RampFactor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user