Commit 2984a1cf9af81552801f98ec870b730038e89f31

Authored by 陆恒
1 parent 0c912b67
Exists in master and in 1 other branch ver2.3.6

提交

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/HttpServer/logic/logic.go
@@ -758,9 +758,9 @@ func HandlerUpdatetaskandachieve(w http.ResponseWriter, data string, uuid int) { @@ -758,9 +758,9 @@ func HandlerUpdatetaskandachieve(w http.ResponseWriter, data string, uuid int) {
758 if uinfo.LeftFreeRB > 0 { 758 if uinfo.LeftFreeRB > 0 {
759 uinfo.LeftFreeRB-- 759 uinfo.LeftFreeRB--
760 } 760 }
761 - if uinfo.WatchAddsTime > 0 { 761 + /*if uinfo.WatchAddsTime > 0 {
762 uinfo.WatchAddsTime-- 762 uinfo.WatchAddsTime--
763 - } 763 + }*/
764 case TASKTYPE_KILLSTAR: 764 case TASKTYPE_KILLSTAR:
765 uinfo.Achieve.KillStar += rdata.Value 765 uinfo.Achieve.KillStar += rdata.Value
766 case TASKTYPE_USEITEM: 766 case TASKTYPE_USEITEM: