Obsolete refactor - ConnectedClient to Channel (#24409)

This commit is contained in:
LordCarve
2024-01-22 23:14:13 +01:00
committed by GitHub
parent a9e89ab372
commit 05a2e6b3a2
46 changed files with 111 additions and 111 deletions

View File

@@ -1,4 +1,4 @@
using Content.Server.Administration;
using Content.Server.Administration;
using Content.Shared.Administration;
using Content.Shared.GhostKick;
using Robust.Server.Player;
@@ -71,6 +71,6 @@ public sealed class GhostKickCommand : IConsoleCommand
return;
}
ghostKick.DoDisconnect(player.ConnectedClient, reason);
ghostKick.DoDisconnect(player.Channel, reason);
}
}

View File

@@ -1,4 +1,4 @@
using Content.Server.Explosion.EntitySystems;
using Content.Server.Explosion.EntitySystems;
using Robust.Shared.Player;
namespace Content.Server.GhostKick;
@@ -18,7 +18,7 @@ public sealed class GhostKickUserOnTriggerSystem : EntitySystem
return;
_ghostKickManager.DoDisconnect(
actor.PlayerSession.ConnectedClient,
actor.PlayerSession.Channel,
"Tripped over a kick mine, crashed through the fourth wall");
args.Handled = true;