From 3bd09630869d0e06c4de81780fe1fe3d6d9d7c8c Mon Sep 17 00:00:00 2001
From: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
Date: Sun, 26 Oct 2025 16:02:24 -0700
Subject: [PATCH] Fix DeltaPressure serialization spam (#41131)
* Fix DeltaPressure serialization spam
* Add TODO
---
Content.Server/Atmos/Components/DeltaPressureComponent.cs | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
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;
///