restart arguments passed correctly in all situations

This commit is contained in:
mark 2006-06-22 02:40:48 +00:00
parent d0faf02150
commit bf4704ce1d
2 changed files with 2 additions and 2 deletions

View file

@ -2745,7 +2745,7 @@ namespace Server.Gumps
InvokeCommand( "Save" );
if ( restart )
Process.Start( Core.ExePath );
Process.Start( Core.ExePath, Core.Arguments );
Core.Process.Kill();
}

View file

@ -83,7 +83,7 @@ namespace Server.Misc
try
{
Process.Start( Core.ExePath );
Process.Start( Core.ExePath, Core.Arguments );
Console.WriteLine( "done" );
e.Close = true;