Commit ae562f936907a71d881a77812bc0214434501af3
1 parent
51910dcb
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/logic.go
| @@ -1166,6 +1166,7 @@ func HandlerRecvTimingReward(w http.ResponseWriter, data string, uuid int) { | @@ -1166,6 +1166,7 @@ func HandlerRecvTimingReward(w http.ResponseWriter, data string, uuid int) { | ||
| 1166 | addgold := uinfo.Goldrate * ZHENGHOURMULT | 1166 | addgold := uinfo.Goldrate * ZHENGHOURMULT |
| 1167 | uinfo.Gold += addgold | 1167 | uinfo.Gold += addgold |
| 1168 | uinfo.LastTimingRewardHour = nowh | 1168 | uinfo.LastTimingRewardHour = nowh |
| 1169 | + uinfo.GetWatchAdsGoldTime-- | ||
| 1169 | 1170 | ||
| 1170 | SaveUserInfo(uinfo, strconv.Itoa(uuid)) | 1171 | SaveUserInfo(uinfo, strconv.Itoa(uuid)) |
| 1171 | 1172 |