[tweak] make maxcaps sqrt-scaling (#16016)

This commit is contained in:
Ilya246
2023-05-03 02:12:09 +04:00
committed by GitHub
parent 981766a83a
commit ca6a92a746
2 changed files with 2 additions and 2 deletions

View File

@@ -263,7 +263,7 @@ namespace Content.Server.Atmos.EntitySystems
}
pressure = component.Air.Pressure;
var range = (pressure - component.TankFragmentPressure) / component.TankFragmentScale;
var range = MathF.Sqrt((pressure - component.TankFragmentPressure) / component.TankFragmentScale);
// Let's cap the explosion, yeah?
// !1984