atmos: fix AtmosDeviceSystem failing to join (#4746)

This commit is contained in:
E F R 2021-10-02 21:03:42 +00:00 committed by GitHub
parent 28516fd466
commit 03e5c153da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ namespace Content.Server.Atmos.Piping.EntitySystems
private bool CanJoinAtmosphere(AtmosDeviceComponent component)
{
return !component.RequireAnchored || !component.Owner.Transform.Anchored;
return !component.RequireAnchored || component.Owner.Transform.Anchored;
}
public void JoinAtmosphere(AtmosDeviceComponent component)