You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Content.Server/Atmos/Components/DeltaPressureComponent.cs
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -40,8 +40,11 @@ public sealed partial class DeltaPressureComponent : Component
40
40
/// for removal while the entity is being deleted.
41
41
/// </summary>
42
42
/// <remarks>Note that while <see cref="AirtightComponent"/> already stores the grid,
43
-
/// we cannot trust it to be available on init or when the entity is being deleted. Tragic.</remarks>
44
-
[DataField]
43
+
/// we cannot trust it to be available on init or when the entity is being deleted. Tragic.
44
+
/// Double note: this is set during ComponentInit and thus does not need to be a datafield
45
+
/// or else it will spam serialization.</remarks>
46
+
/// TODO ATMOS: Simply use AirtightComponent's GridUID caching and handle entity removal from the processing list on an invalidation system similar to InvalidTiles.
0 commit comments