This commit is contained in:
@@ -32,6 +32,16 @@ func (h Controller) PetMelee(data *fight.StartPetWarInboundInfo, c *player.Playe
|
||||
}
|
||||
|
||||
}
|
||||
if foi.Reason == info.BattleOverReason.PlayerOffline {
|
||||
if foi.WinnerId == c.GetInfo().UserID {
|
||||
|
||||
p.MessWin(false)
|
||||
|
||||
} else {
|
||||
|
||||
c.MessWin(false)
|
||||
}
|
||||
}
|
||||
|
||||
}) ///开始对战,房主方以及被邀请方
|
||||
return err <= 0
|
||||
|
||||
Reference in New Issue
Block a user