Merge branch 'develop' into release

This commit is contained in:
sk 2024-09-19 11:52:32 +08:00
commit 79915a49e1
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }