Commit 386b90261d21956096cda148bbe91913665b1b1b
1 parent
0003700a
Exists in
master
提交
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/HttpServer/logic/logic.go
@@ -1298,8 +1298,8 @@ func HandlerGetOfflineReward(w http.ResponseWriter, data string, uuid int) { | @@ -1298,8 +1298,8 @@ func HandlerGetOfflineReward(w http.ResponseWriter, data string, uuid int) { | ||
1298 | 1298 | ||
1299 | addgold := uinfo.OfflineGold | 1299 | addgold := uinfo.OfflineGold |
1300 | 1300 | ||
1301 | - if rdata.Optype == 2 { | ||
1302 | - addgold *= 2 | 1301 | + if rdata.Optype == 1 { |
1302 | + addgold *= 1 | ||
1303 | 1303 | ||
1304 | } | 1304 | } |
1305 | uinfo.Gold += addgold | 1305 | uinfo.Gold += addgold |