From: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com> Date: Sun, 26 Oct 2025 23:02:24 +0000 (-0700) Subject: Fix DeltaPressure serialization spam (#41131) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=3bd09630869d0e06c4de81780fe1fe3d6d9d7c8c;p=space-station-14.git Fix DeltaPressure serialization spam (#41131) * Fix DeltaPressure serialization spam * Add TODO --- diff --git a/Content.Server/Atmos/Components/DeltaPressureComponent.cs b/Content.Server/Atmos/Components/DeltaPressureComponent.cs index 0d2debe08a..cfe67a855b 100644 --- a/Content.Server/Atmos/Components/DeltaPressureComponent.cs +++ b/Content.Server/Atmos/Components/DeltaPressureComponent.cs @@ -40,8 +40,11 @@ public sealed partial class DeltaPressureComponent : Component /// for removal while the entity is being deleted. /// /// Note that while already stores the grid, - /// we cannot trust it to be available on init or when the entity is being deleted. Tragic. - [DataField] + /// we cannot trust it to be available on init or when the entity is being deleted. Tragic. + /// Double note: this is set during ComponentInit and thus does not need to be a datafield + /// or else it will spam serialization. + /// TODO ATMOS: Simply use AirtightComponent's GridUID caching and handle entity removal from the processing list on an invalidation system similar to InvalidTiles. + [ViewVariables(VVAccess.ReadOnly)] public EntityUid? GridUid; ///