From 312d077f2e1457b3a8231fcb35f8a7ba5f345523 Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 13 May 2019 11:20:24 +0800 Subject: [PATCH] test --- workers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workers.go b/workers.go index 1e76d1c..ef57390 100644 --- a/workers.go +++ b/workers.go @@ -169,7 +169,8 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) { } cwm.Report[r.ReplaceAllString(m.Text, "${Loot7}")] = rep rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score1)")] - rep.Points, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points1)")) + p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points1)")) + rep.Points = int32(p) b, err := json.Marshal(cwm) /* if len(r.ReplaceAllString(m.Text, "${Loot1}")) < 6 || len(r.ReplaceAllString(m.Text, "${Loot1}")) > 11 {