File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
CollapseLauncher/Classes/InstallManagement Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -112,14 +112,15 @@ private void ApplyParameter()
112112
113113 private bool CheckDeltaPatchUpdate ( )
114114 {
115- string [ ] GamePaths = Directory . GetFiles ( this . GameDirPath , "*.patch" , SearchOption . TopDirectoryOnly ) ;
115+ string [ ] GamePaths = Directory . GetFiles ( GameDirPath , "*.patch" , SearchOption . TopDirectoryOnly ) ;
116116 if ( GamePaths . Length == 0 ) return false ;
117117
118118 try
119119 {
120120 PatchProp = new DeltaPatchProperty ( GamePaths . First ( ) ) ;
121- if ( PatchProp . ProfileName != this . SourceProfile . ProfileName ) return false ;
122- if ( this . ModeType != DownloadType . Update ) return false ;
121+ if ( PatchProp . ProfileName != SourceProfile . ProfileName ) return false ;
122+ if ( ModeType != DownloadType . Update ) return false ;
123+ if ( PatchProp . TargetVer != GameVersionString ) return false ;
123124 }
124125 catch ( IndexOutOfRangeException ) { return false ; }
125126
You can’t perform that action at this time.
0 commit comments