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 {