playroom interact bug fix

This commit is contained in:
hahwu 2026-04-15 20:59:36 +08:00
parent 1f41975ba2
commit 79fe878ef7

View File

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