Call OnConnect method for player session (#3547)

This commit is contained in:
Morb
2022-12-02 02:19:02 +03:00
committed by GitHub
parent 89331f6948
commit 5cdae85e9f

View File

@@ -459,7 +459,7 @@ namespace Robust.Server.Player
// This is done before the packet is built, so that the client
// can see themselves Connected.
var session = GetSessionByChannel(channel);
session.Status = SessionStatus.Connected;
session.OnConnect();
var list = new List<PlayerState>();
foreach (var client in players)