Fixed copy/paste issue causing automatic client.exe version detection to fail
This commit is contained in:
parent
5be90584b6
commit
b290d0d18f
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ namespace Server.Misc
|
|||
{
|
||||
FileVersionInfo info = FileVersionInfo.GetVersionInfo( path );
|
||||
|
||||
if( info.FileMajorPart != 0 || info.FileMinorPart != 0 || info.FileMinorPart != 0 || info.FilePrivatePart != 0 )
|
||||
if ( info.FileMajorPart != 0 || info.FileMinorPart != 0 || info.FileBuildPart != 0 || info.FilePrivatePart != 0 )
|
||||
{
|
||||
ClientVersion.Required = new ClientVersion( info.FileMajorPart, info.FileMinorPart, info.FileBuildPart, info.FilePrivatePart );
|
||||
Console.WriteLine( "Restricting client version to {0}", ClientVersion.Required );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue