Revert to CMD icon on exit

Else CMD would still have the player head as icon
This commit is contained in:
ORelio 2014-07-27 16:43:45 +02:00
parent cb1edcb3b1
commit 47a3cdc783
2 changed files with 27 additions and 7 deletions

View file

@ -289,6 +289,7 @@ namespace MinecraftClient
private static void t_exit()
{
if (Client != null) { Client.Disconnect(); ConsoleIO.Reset(); }
if (Settings.playerHeadAsIcon) { ConsoleIcon.revertToCMDIcon(); }
Environment.Exit(0);
}