Fix DeltaPressure serialization spam (#41131)
* Fix DeltaPressure serialization spam * Add TODO
This commit is contained in:
@@ -40,8 +40,11 @@ public sealed partial class DeltaPressureComponent : Component
|
|||||||
/// for removal while the entity is being deleted.
|
/// for removal while the entity is being deleted.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>Note that while <see cref="AirtightComponent"/> already stores the grid,
|
/// <remarks>Note that while <see cref="AirtightComponent"/> already stores the grid,
|
||||||
/// we cannot trust it to be available on init or when the entity is being deleted. Tragic.</remarks>
|
/// we cannot trust it to be available on init or when the entity is being deleted. Tragic.
|
||||||
[DataField]
|
/// Double note: this is set during ComponentInit and thus does not need to be a datafield
|
||||||
|
/// or else it will spam serialization.</remarks>
|
||||||
|
/// 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;
|
public EntityUid? GridUid;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user