@@ -192,14 +192,14 @@ router.post('/score', function (req, res) {
paramB['athletic_draw']=1
}
varqueryFirsrWinSql=`select count(*) from battle_history where ( (usernameA = '${winner}' AND userscorea > userscoreb ) OR (usernameB = '${winner}' AND userscoreb > userscorea) ) and start_time > date '${today}' `
varqueryFirsrWinSql=`select count(*) from battle_history where type ='athletic' and ( (usernameA = '${winner}' AND userscorea > userscoreb ) OR (usernameB = '${winner}' AND userscoreb > userscorea) ) and start_time > date '${today}' `