Make FlammableTileReaction additive instead of multiplicative. (#36387)

Make FlammableTileReaction additive
This commit is contained in:
Radezolid 2025-04-08 03:44:52 -03:00 committed by GitHub
parent 3e98f1699d
commit 8da64c127a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,7 @@ namespace Content.Server.Chemistry.TileReactions
if (environment == null || !atmosphereSystem.IsHotspotActive(tile.GridUid, tile.GridIndices))
return FixedPoint2.Zero;
environment.Temperature *= MathF.Max(_temperatureMultiplier * reactVolume.Float(), 1f);
environment.Temperature += MathF.Max(_temperatureMultiplier * reactVolume.Float(), 1f);
atmosphereSystem.ReactTile(tile.GridUid, tile.GridIndices);
return reactVolume;