Commit 9c16f733293091165d64b33abd1cfd9361094159
1 parent
d5e509aa
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/logic.go
@@ -952,7 +952,7 @@ func HandlerGetrandredbag(w http.ResponseWriter, data string, uuid int) { | @@ -952,7 +952,7 @@ func HandlerGetrandredbag(w http.ResponseWriter, data string, uuid int) { | ||
952 | 952 | ||
953 | uinfo.SumRandRedBagTimes++ | 953 | uinfo.SumRandRedBagTimes++ |
954 | uinfo.RandRedBagLeftTime-- | 954 | uinfo.RandRedBagLeftTime-- |
955 | - uinfo.StoreRandRedBag-- | 955 | + uinfo.StoreRandRedBag = 0 |
956 | } else if rdata.Optype == 2 { | 956 | } else if rdata.Optype == 2 { |
957 | //存储 | 957 | //存储 |
958 | if uinfo.StoreRandRedBag >= 1 { | 958 | if uinfo.StoreRandRedBag >= 1 { |