diff --git a/TASVideos/Pages/Submissions/Edit.cshtml.cs b/TASVideos/Pages/Submissions/Edit.cshtml.cs index 1666c9f68..d99b65ae7 100644 --- a/TASVideos/Pages/Submissions/Edit.cshtml.cs +++ b/TASVideos/Pages/Submissions/Edit.cshtml.cs @@ -231,6 +231,11 @@ public async Task OnPost() submission.HashType = parseResult.Hashes.First().Key.ToString(); submission.Hash = parseResult.Hashes.First().Value; } + else + { + submission.HashType = null; + submission.Hash = null; + } } if (SubmissionHelper.JudgeIsClaiming(submission.Status, Submission.Status))