- Fixed server

- Works for multiplayer now, exit doesn't shut down everything.
- Less memory usage.
- TODO: If startup message, handle it.
This commit is contained in:
u8sand_cp 2010-07-30 16:41:54 -07:00
parent e822537128
commit 7f39821216
3 changed files with 21 additions and 10 deletions

View file

@ -17,7 +17,10 @@ namespace MudEngine.Commands
public CommandResults Execute(string command, BaseCharacter player)
{
player.ActiveGame.Shutdown();
if (player.ActiveGame.IsMultiplayer)
player.Disconnect();
else
player.ActiveGame.Shutdown();
return new CommandResults();
}