Skip to content

Commit 2718509

Browse files
committed
fix: Resolved issue with incomplete replay files
1 parent 9b7b307 commit 2718509

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Heroesprofile.Uploader.Common/Analyzer.cs

+3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ public Replay Analyze(ReplayFile file)
4848
{
4949
switch (parseResult) {
5050
case DataParser.ReplayParseResult.ComputerPlayerFound:
51+
case DataParser.ReplayParseResult.Incomplete:
52+
return UploadStatus.Incomplete;
5153
case DataParser.ReplayParseResult.TryMeMode:
5254
return UploadStatus.AiDetected;
5355

@@ -56,6 +58,7 @@ public Replay Analyze(ReplayFile file)
5658

5759
case DataParser.ReplayParseResult.PreAlphaWipe:
5860
return UploadStatus.TooOld;
61+
5962
}
6063

6164
if (parseResult != DataParser.ReplayParseResult.Success) {

Heroesprofile.Uploader.Windows/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@
5252
// You can specify all the values or you can default the Build and Revision Numbers
5353
// by using the '*' as shown below:
5454
// [assembly: AssemblyVersion("1.0.*")]
55-
[assembly: AssemblyVersion("1.0.0")]
56-
[assembly: AssemblyFileVersion("1.0.0")]
55+
[assembly: AssemblyVersion("1.0.1")]
56+
[assembly: AssemblyFileVersion("1.0.1")]
5757
[assembly: AssemblyInformationalVersion("1.0.0")]

0 commit comments

Comments
 (0)