playroom interact bug fix
This commit is contained in:
parent
1f41975ba2
commit
79fe878ef7
@ -352,6 +352,8 @@ func (p *Player) InitPlayerByUid(Uid int) error {
|
|||||||
ChargeMod.FixBug(ChessMod.GetEmitList())
|
ChargeMod.FixBug(ChessMod.GetEmitList())
|
||||||
p.FixOrderBug()
|
p.FixOrderBug()
|
||||||
p.FixDecorate()
|
p.FixDecorate()
|
||||||
|
p.FixPlayroomPyhical()
|
||||||
|
p.FixPlayroomInteract()
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1488,7 +1490,7 @@ func (p *Player) FixPlayroomPyhical() {
|
|||||||
func (p *Player) FixPlayroomInteract() {
|
func (p *Player) FixPlayroomInteract() {
|
||||||
PlayroomMod := p.PlayMod.getPlayroomMod()
|
PlayroomMod := p.PlayMod.getPlayroomMod()
|
||||||
BaseMod := p.PlayMod.getBaseMod()
|
BaseMod := p.PlayMod.getBaseMod()
|
||||||
if BaseMod.GetLevel() < playroomCfg.GetInteractNum() {
|
if BaseMod.GetLevel() < playroomCfg.GetInteractUnlock() {
|
||||||
PlayroomMod.InteractNum = 0
|
PlayroomMod.InteractNum = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user