Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
5f30a98235
@ -34,7 +34,7 @@ func (this *apiComp) PotionSynthesis(session comm.IUserSession, req *pb.ItemsPot
|
|||||||
N: v.N * req.Num,
|
N: v.N * req.Num,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if code = this.module.ConsumeRes(session, configure.Material, true); code != pb.ErrorCode_Success {
|
if code = this.module.ConsumeRes(session, need, true); code != pb.ErrorCode_Success {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
give = make([]*cfg.Gameatn, 0)
|
give = make([]*cfg.Gameatn, 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user