atmos: fix AtmosDeviceSystem failing to join (#4746)
This commit is contained in:
@@ -32,7 +32,7 @@ namespace Content.Server.Atmos.Piping.EntitySystems
|
|||||||
|
|
||||||
private bool CanJoinAtmosphere(AtmosDeviceComponent component)
|
private bool CanJoinAtmosphere(AtmosDeviceComponent component)
|
||||||
{
|
{
|
||||||
return !component.RequireAnchored || !component.Owner.Transform.Anchored;
|
return !component.RequireAnchored || component.Owner.Transform.Anchored;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void JoinAtmosphere(AtmosDeviceComponent component)
|
public void JoinAtmosphere(AtmosDeviceComponent component)
|
||||||
|
|||||||
Reference in New Issue
Block a user