(a207445eb) Show the traitor greeting message before the code word message (saw one streamer read the code words out loud before realizing he was a traitor and that it was secret information).

This commit is contained in:
Joonas Rikkonen
2019-06-04 16:42:38 +03:00
parent d1ca8f1fb8
commit d60fd839c7

View File

@@ -23,8 +23,8 @@ namespace Barotrauma
var greetingChatMsg = ChatMessage.Create(null, greetingMessage, ChatMessageType.Server, null);
var moreAgentsChatMsg = ChatMessage.Create(null, moreAgentsMessage, ChatMessageType.Server, null);
var greetingMsgBox = ChatMessage.Create(null, greetingMessage, ChatMessageType.MessageBox, null);
var moreAgentsMsgBox = ChatMessage.Create(null, moreAgentsMessage, ChatMessageType.MessageBox, null);
var greetingMsgBox = ChatMessage.Create(null, greetingMessage, ChatMessageType.MessageBox, null);
Client traitorClient = server.ConnectedClients.Find(c => c.Character == Character);
GameMain.Server.SendDirectChatMessage(greetingChatMsg, traitorClient);