Fix normalisation not actually happening in users/full
This commit is contained in:
parent
330757ec78
commit
ef14f027b7
|
@ -243,6 +243,11 @@ LIMIT 1
|
||||||
r.RegisteredOn = time.Unix(registeredOn, 0)
|
r.RegisteredOn = time.Unix(registeredOn, 0)
|
||||||
r.LatestActivity = time.Unix(latestActivity, 0)
|
r.LatestActivity = time.Unix(latestActivity, 0)
|
||||||
|
|
||||||
|
r.STD = r.STD.Normalise()
|
||||||
|
r.Taiko = r.Taiko.Normalise()
|
||||||
|
r.CTB = r.CTB.Normalise()
|
||||||
|
r.Mania = r.Mania.Normalise()
|
||||||
|
|
||||||
for _, m := range []*modeData{&r.STD, &r.Taiko, &r.CTB, &r.Mania} {
|
for _, m := range []*modeData{&r.STD, &r.Taiko, &r.CTB, &r.Mania} {
|
||||||
m.Level = ocl.GetLevelPrecise(int64(m.TotalScore))
|
m.Level = ocl.GetLevelPrecise(int64(m.TotalScore))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user