fixed some funky service behavior (thanks panther)
This commit is contained in:
parent
5d78b17be1
commit
5e4c0668e3
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ namespace Server
|
||||||
|
|
||||||
private static bool OnConsoleEvent( ConsoleEventType type )
|
private static bool OnConsoleEvent( ConsoleEventType type )
|
||||||
{
|
{
|
||||||
if( World.Saving )
|
if( World.Saving || ( m_Service && type == ConsoleEventType.CTRL_LOGOFF_EVENT ) )
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
Kill();
|
Kill();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue