Skip to content

Commit

Permalink
Apply Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxoTrystan committed Oct 27, 2024
1 parent e9c1be0 commit 29b9284
Show file tree
Hide file tree
Showing 5 changed files with 625 additions and 649 deletions.
5 changes: 1 addition & 4 deletions Content.Server/FloofStation/TheDarkSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,13 @@ private void SetupTheDark(RoundStartingEvent ev)
_mapManager.AddUninitializedMap(mapId);

if (!_loader.TryLoad(mapId, "/Maps/Floof/hideout.yml", out var uids))
{
return;
}

foreach (var id in uids)
{
EnsureComp<ArrivalsSourceComponent>(id);
EnsureComp<PreventPilotComponent>(id);
}

_mapManager.DoMapInitialize(mapId);
}
}
}
2 changes: 0 additions & 2 deletions Content.Shared/Teleportation/Systems/SharedPortalSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ private void OnGetVerbs(EntityUid uid, PortalComponent component, GetVerbsEvent<
var ent = link.LinkedEntities.First();
TeleportEntity(uid, args.User, Transform(ent).Coordinates, ent, false);
if (TryComp<EtherealComponent>(args.User, out var ethereal)) // Floofstation Edit
RemComp(uid, ethereal);
if (TryComp<PortalTimeoutComponent>(args.User, out var timeout)) // Floofstation Edit
RemCompDeferred(args.User, timeout);
},
Expand Down
Loading

0 comments on commit 29b9284

Please sign in to comment.