- 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:
parent
e822537128
commit
7f39821216
3 changed files with 21 additions and 10 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue