Better join chat messages.

This commit is contained in:
Pieter-Jan Briers
2019-07-19 01:21:09 +02:00
parent a3b0127328
commit 22c5b6eb31

View File

@@ -417,7 +417,6 @@ namespace Content.Server.GameTicking
}
}
_chatManager.DispatchServerAnnouncement($"Player {args.Session.SessionId} joined game!");
break;
}
@@ -466,6 +465,7 @@ namespace Content.Server.GameTicking
private void _playerJoinGame(IPlayerSession session)
{
_chatManager.DispatchServerMessage(session, $"Welcome to Space Station 14! If this is your first time checking out the game, be sure to check out the tutorial in the top left!");
if (_playersInLobby.ContainsKey(session))
{
_playersInLobby.Remove(session);