fix(announce): fixed anounce score Math.around .toFixed(2)

This commit is contained in:
OldHawk
2018-05-06 21:48:48 +08:00
parent 46169151d7
commit e3be2dbede

View File

@@ -48,7 +48,7 @@ module.exports.update = function (req, user, action, value, writeLog = true) {
});
//write score log
if (writeLog) {
if (writeLog && v > 0) {
dataLog.scoreLog(user, v);
}
}