Fix submission count not being counted

This commit is contained in:
Ajay Ramachandran
2020-04-20 15:48:47 -04:00
parent 9a70599e60
commit 0cfe0dc90f
2 changed files with 3 additions and 62 deletions

View File

@@ -1490,6 +1490,9 @@ async function sendSubmitMessage(){
sponsorTimes = sponsorTimes.concat(sponsorTimesSubmitting);
// Increase contribution count
Config.config.sponsorTimesContributed = Config.config.sponsorTimesContributed + sponsorTimesSubmitting.length;
// Empty the submitting times
sponsorTimesSubmitting = [];