test
This commit is contained in:
parent
959ffa7c17
commit
335a781458
@ -106,16 +106,16 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
||||
}
|
||||
g, err := strconv.Atoi(r.ReplaceAllString(m.Text, "${Gold1}"))
|
||||
s, err := strconv.Atoi(r.ReplaceAllString(m.Text, "${Stock1}"))
|
||||
rep := ChatWarsMessageMiniWarReport{
|
||||
rep := ChatWarsMessageMiniWarCastle{
|
||||
Gardian: r.ReplaceAllString(m.Text, "${Gardian1}"),
|
||||
Result: r.ReplaceAllString(m.Text, "${Result1}"),
|
||||
Gold: g,
|
||||
Stock: s,
|
||||
}
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Loot1}")] = rep
|
||||
g, err := strconv.Atoi(r.ReplaceAllString(m.Text, "${Gold2}"))
|
||||
s, err := strconv.Atoi(r.ReplaceAllString(m.Text, "${Stock2}"))
|
||||
rep = ChatWarsMessageMiniWarReport{
|
||||
g, err = strconv.Atoi(r.ReplaceAllString(m.Text, "${Gold2}"))
|
||||
s, err = strconv.Atoi(r.ReplaceAllString(m.Text, "${Stock2}"))
|
||||
rep = ChatWarsMessageMiniWarCastle{
|
||||
Gardian: r.ReplaceAllString(m.Text, "${Gardian2}"),
|
||||
Result: r.ReplaceAllString(m.Text, "${Result2}"),
|
||||
Gold: g,
|
||||
|
Loading…
Reference in New Issue
Block a user