Revert unnecessary playtest things

This commit is contained in:
John Gross
2019-02-25 12:47:25 -08:00
parent 7a71cbf756
commit fb3082094a
2 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ namespace Torch.Server
private const string RUNSCRIPT = @"force_install_dir ../ private const string RUNSCRIPT = @"force_install_dir ../
login anonymous login anonymous
app_update 298740 -beta playtest -betapassword nt8WuDw9kdvE app_update 298740
quit"; quit";
private TorchConfig _config; private TorchConfig _config;

View File

@@ -127,10 +127,10 @@ namespace Torch.Managers.ChatManager
private void Multiplayer_ChatMessageReceived(ulong steamUserId, string messageText, ChatChannel channel, long targetId, string customAuthorName) private void Multiplayer_ChatMessageReceived(ulong steamUserId, string messageText, ChatChannel channel, long targetId, string customAuthorName)
{ {
var torchMsg = new TorchChatMessage(steamUserId, $"[{channel}] {messageText}", var torchMsg = new TorchChatMessage(steamUserId, messageText,
(steamUserId == MyGameService.UserId) ? MyFontEnum.DarkBlue : MyFontEnum.Blue); (steamUserId == MyGameService.UserId) ? MyFontEnum.DarkBlue : MyFontEnum.Blue);
if (!RaiseMessageRecieved(torchMsg) && HasHud) if (!RaiseMessageRecieved(torchMsg) && HasHud)
_hudChatMessageReceived.Invoke(MyHud.Chat, steamUserId, $"[{channel}] {messageText}"); _hudChatMessageReceived.Invoke(MyHud.Chat, steamUserId, messageText);
} }
private void Multiplayer_ScriptedChatMessageReceived(string message, string author, string font) private void Multiplayer_ScriptedChatMessageReceived(string message, string author, string font)