Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
f9c7bc15dd
@ -45,6 +45,7 @@ func (this *apiComp) BuyPhysical(session comm.IUserSession, req *pb.ItemsBuyPhys
|
|||||||
|
|
||||||
if req.Amount+uint32(user.Physicalbuynum) > uint32(len(needs)) {
|
if req.Amount+uint32(user.Physicalbuynum) > uint32(len(needs)) {
|
||||||
code = pb.ErrorCode_ItemsBuyPsUpperLimit
|
code = pb.ErrorCode_ItemsBuyPsUpperLimit
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
haveneeds = make([]*cfg.Gameatn, 0)
|
haveneeds = make([]*cfg.Gameatn, 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user