Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nic11 committed Dec 13, 2024
1 parent 3018057 commit 8a3b750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skymp5-server/cpp/server_guest_lib/MpObjectReference.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ void MpObjectReference::SetHarvested(bool harvested)
changeForm.isHarvested = harvested;
});
SendMessageToActorListeners(
CreatePropertyMessage(this, "isHarvested", /*value=*/true),
CreatePropertyMessage(this, "isHarvested", /*value=*/harvested),
/*reliable=*/true);
}
}
Expand All @@ -581,7 +581,7 @@ void MpObjectReference::SetOpen(bool open)
EditChangeForm(
[&](MpChangeFormREFR& changeForm) { changeForm.isOpen = open; });
SendMessageToActorListeners(
CreatePropertyMessage(this, "isOpen", /*value=*/true),
CreatePropertyMessage(this, "isOpen", /*value=*/open),
/*reliable=*/true);
}
}
Expand Down

0 comments on commit 8a3b750

Please sign in to comment.