fixed some funky service behavior (thanks panther)

This commit is contained in:
mark 2007-09-14 04:55:54 +00:00
parent 5d78b17be1
commit 5e4c0668e3

View file

@ -274,7 +274,7 @@ namespace Server
private static bool OnConsoleEvent( ConsoleEventType type )
{
if( World.Saving )
if( World.Saving || ( m_Service && type == ConsoleEventType.CTRL_LOGOFF_EVENT ) )
return true;
Kill();