Commit d5e509aa012ad691094d8128b3ab4359d9a22095
1 parent
51e5d8e5
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/logic.go
@@ -952,6 +952,7 @@ func HandlerGetrandredbag(w http.ResponseWriter, data string, uuid int) { | @@ -952,6 +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 | } else if rdata.Optype == 2 { | 956 | } else if rdata.Optype == 2 { |
956 | //存储 | 957 | //存储 |
957 | if uinfo.StoreRandRedBag >= 1 { | 958 | if uinfo.StoreRandRedBag >= 1 { |