playroom修复

This commit is contained in:
hahwu 2025-05-30 14:37:30 +08:00
parent 6437df189b
commit 43da244384

View File

@ -3147,7 +3147,7 @@ func ReqPlayroomInteract(player *Player, buf []byte) error {
}
player.QuestTrigger(&quest.Trigger{Label: quest.TRIGGER_LABEL_INTERACT, A: []interface{}{int(req.Id)}})
player.PlayMod.save()
G_GameLogicPtr.SetUserData(int(req.Id), VAR_OP_KISS, 0)
G_GameLogicPtr.SetUserData(int(player.M_DwUin), VAR_OP_KISS, 0)
LimitedTimePlayroomTrigger(player)
player.NotifyPlayroomKiss()
player.PushClientRes(&msg.ResPlayroomInteract{