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