Update app.js

Increment counter at wicket
master
Andy Smy 2025-04-30 19:10:10 +01:00 committed by GitHub
parent 14d552d3c4
commit f379298bc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -213,6 +213,7 @@ function incrementWickets(inc) {
wickets += inc;
var timeSig = new Date();
if(inc>0) {
counter+=1;
addLog(timeSig, over, counter, "Wicket", "Wickets: " + wickets);
} else {
addLog(timeSig, over, counter, "Recall Batter", "Wickets: " + wickets);