diff --git a/Content.Server/Gateway/Systems/GatewaySystem.cs b/Content.Server/Gateway/Systems/GatewaySystem.cs index 0c6f68b64d..3613f6734e 100644 --- a/Content.Server/Gateway/Systems/GatewaySystem.cs +++ b/Content.Server/Gateway/Systems/GatewaySystem.cs @@ -103,8 +103,8 @@ public sealed class GatewaySystem : EntitySystem private void OpenPortal(EntityUid uid, GatewayComponent comp, EntityUid dest, GatewayDestinationComponent destComp) { _linkedEntity.TryLink(uid, dest); - EnsureComp(uid); - EnsureComp(dest); + EnsureComp(uid).CanTeleportToOtherMaps = true; + EnsureComp(dest).CanTeleportToOtherMaps = true; // for ui comp.LastOpen = _timing.CurTime;