diff --git a/workers.go b/workers.go index 99d366e..1e76d1c 100644 --- a/workers.go +++ b/workers.go @@ -168,13 +168,8 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) { Stock: int32(s), } cwm.Report[r.ReplaceAllString(m.Text, "${Loot7}")] = rep - cwm.Report[r.ReplaceAllString(m.Text, "$(Score1)")].Points, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points1)")) - cwm.Report[r.ReplaceAllString(m.Text, "$(Score2)")].Points, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points2)")) - cwm.Report[r.ReplaceAllString(m.Text, "$(Score3)")].Points, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points3)")) - cwm.Report[r.ReplaceAllString(m.Text, "$(Score4)")].Points, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points4)")) - cwm.Report[r.ReplaceAllString(m.Text, "$(Score5)")].Points, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points5)")) - cwm.Report[r.ReplaceAllString(m.Text, "$(Score6)")].Points, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points6)")) - cwm.Report[r.ReplaceAllString(m.Text, "$(Score7)")].Points, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points7)")) + rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score1)")] + rep.Points, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points1)")) b, err := json.Marshal(cwm) /* if len(r.ReplaceAllString(m.Text, "${Loot1}")) < 6 || len(r.ReplaceAllString(m.Text, "${Loot1}")) > 11 {