Merge branch 'develop' into release
This commit is contained in:
commit
79915a49e1
|
@ -1963,7 +1963,7 @@ func (this *Player) AddCoin(num, add int64, gainWay int32, oper, remark string)
|
||||||
//this.TotalData(num, gainWay)
|
//this.TotalData(num, gainWay)
|
||||||
|
|
||||||
async := false
|
async := false
|
||||||
if num > 0 && this.scene != nil && !this.scene.IsTestScene() && !this.scene.IsMatchScene() && this.scene.sceneMode != common.SceneModeThr { //游戏场中加币,需要同步到gamesrv上
|
if num > 0 && this.scene != nil && !this.scene.IsTestScene() && !this.scene.IsMatchScene() && !this.scene.IsCustom() && this.scene.sceneMode != common.SceneModeThr { //游戏场中加币,需要同步到gamesrv上
|
||||||
if StartAsyncAddCoinTransact(this, num, gainWay, oper, remark, true, 0, true) {
|
if StartAsyncAddCoinTransact(this, num, gainWay, oper, remark, true, 0, true) {
|
||||||
async = true
|
async = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue