Move minds, roles, jobs and objectives to shared (#19679)
This commit is contained in:
@@ -13,6 +13,7 @@ using Content.Shared.StationRecords;
|
||||
using Robust.Server.Player;
|
||||
using Robust.Shared.Configuration;
|
||||
using Robust.Shared.Console;
|
||||
using Robust.Shared.Players;
|
||||
|
||||
namespace Content.Server.CrewManifest;
|
||||
|
||||
@@ -30,7 +31,7 @@ public sealed class CrewManifestSystem : EntitySystem
|
||||
/// </summary>
|
||||
private readonly Dictionary<EntityUid, CrewManifestEntries> _cachedEntries = new();
|
||||
|
||||
private readonly Dictionary<EntityUid, Dictionary<IPlayerSession, CrewManifestEui>> _openEuis = new();
|
||||
private readonly Dictionary<EntityUid, Dictionary<ICommonSession, CrewManifestEui>> _openEuis = new();
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
@@ -168,7 +169,7 @@ public sealed class CrewManifestSystem : EntitySystem
|
||||
/// <param name="station">Station that we're displaying the crew manifest for.</param>
|
||||
/// <param name="session">The player's session.</param>
|
||||
/// <param name="owner">The owner of this EUI, if there was one.</param>
|
||||
public void CloseEui(EntityUid station, IPlayerSession session, EntityUid? owner = null)
|
||||
public void CloseEui(EntityUid station, ICommonSession session, EntityUid? owner = null)
|
||||
{
|
||||
if (!HasComp<StationRecordsComponent>(station))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user