Only auto-enable internals when necessary (#28248)
* Only auto-enable internals when necessary * Add toxic gas check * Rename Any -> AnyPositive
This commit is contained in:
@@ -109,7 +109,7 @@ public sealed class BluespaceLockerSystem : EntitySystem
|
||||
// Move contained air
|
||||
if (component.BehaviorProperties.TransportGas)
|
||||
{
|
||||
entityStorageComponent.Air.CopyFromMutable(target.Value.storageComponent.Air);
|
||||
entityStorageComponent.Air.CopyFrom(target.Value.storageComponent.Air);
|
||||
target.Value.storageComponent.Air.Clear();
|
||||
}
|
||||
|
||||
@@ -326,7 +326,7 @@ public sealed class BluespaceLockerSystem : EntitySystem
|
||||
// Move contained air
|
||||
if (component.BehaviorProperties.TransportGas)
|
||||
{
|
||||
target.Value.storageComponent.Air.CopyFromMutable(entityStorageComponent.Air);
|
||||
target.Value.storageComponent.Air.CopyFrom(entityStorageComponent.Air);
|
||||
entityStorageComponent.Air.Clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user