Non-indexed remove causes a full reset (@Xero's issue)

Removed ignore last session option.  Implicitly true now.
Asteroid generation options (fixes #151)
This commit is contained in:
Westin Miller
2017-10-29 09:53:20 -07:00
parent 7a63527d8f
commit b7fa57c9b7
11 changed files with 120 additions and 91 deletions

View File

@@ -136,12 +136,12 @@ namespace Torch.Server
var commands = _server.CurrentSession?.Managers.GetManager<Torch.Commands.CommandManager>();
if (commands != null && commands.IsCommand(text))
{
InsertMessage(new TorchChatMessage("Server", text) { Font = MyFontEnum.DarkBlue });
InsertMessage(new TorchChatMessage("Server", text, MyFontEnum.DarkBlue));
_server.Invoke(() =>
{
string response = commands.HandleCommandFromServer(text);
if (!string.IsNullOrWhiteSpace(response))
InsertMessage(new TorchChatMessage("Server", response) { Font = MyFontEnum.Blue });
InsertMessage(new TorchChatMessage("Server", response, MyFontEnum.Blue));
});
}
else