Commit 212ff09c509b193d909208d5296eaf51f7621cdc
1 parent
2c35f0c9
Exists in
master
and in
1 other branch
feat✨:排行榜结算方式改为每天结算
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
service/roomrank/room.go
| ... | ... | @@ -7,7 +7,6 @@ import ( |
| 7 | 7 | "apigame/util/util-lx/lxalilog" |
| 8 | 8 | "apigame/util/util-lx/lxtime" |
| 9 | 9 | "apigame/util/ztime" |
| 10 | - "fmt" | |
| 11 | 10 | "math" |
| 12 | 11 | "math/rand" |
| 13 | 12 | "sort" |
| ... | ... | @@ -264,7 +263,6 @@ func TryResetRobot(room *Room, config *confroomrank.ActivityConfig) { |
| 264 | 263 | } else { |
| 265 | 264 | percent = float64(secNow-dtStart) * 100 / float64(dtEnd-dtStart) |
| 266 | 265 | } |
| 267 | - fmt.Println("dwjw🐸 percent", percent) | |
| 268 | 266 | |
| 269 | 267 | // 机器人即时算分 |
| 270 | 268 | for i := 0; i < len(room.Details.Players); i++ { | ... | ... |