Update clan.go
This commit is contained in:
parent
21d9cf3fae
commit
178b5263d5
|
@ -157,6 +157,7 @@ func AllClanStatsGET(md common.MethodData) common.CodeMessager {
|
||||||
members.Code = 200
|
members.Code = 200
|
||||||
|
|
||||||
if n == "std" {
|
if n == "std" {
|
||||||
|
fmt.Printf("%v", r.Clans)
|
||||||
for u := 0; u < len(members.Members); u++ {
|
for u := 0; u < len(members.Members); u++ {
|
||||||
r.Clans[i].ChosenMode.PP = r.Clans[i].ChosenMode.PP + members.Members[u].PpStd
|
r.Clans[i].ChosenMode.PP = r.Clans[i].ChosenMode.PP + members.Members[u].PpStd
|
||||||
r.Clans[i].ChosenMode.RankedScore = r.Clans[i].ChosenMode.RankedScore + members.Members[u].RankedScoreStd
|
r.Clans[i].ChosenMode.RankedScore = r.Clans[i].ChosenMode.RankedScore + members.Members[u].RankedScoreStd
|
||||||
|
|
Loading…
Reference in New Issue
Block a user