ai feedback

This commit is contained in:
David Markowitz
2026-06-06 23:50:46 -07:00
parent d9c8955862
commit fb9b58eb28
4 changed files with 6 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ void StoryBoxInteractServer::OnUse(Entity* self, Entity* user) {
flagMsg.Send();
if (!flagMsg.flag) {
auto* const character = user->GetCharacter();
if (character) user->GetCharacter()->SetPlayerFlag(boxFlag, true);
if (character) character->SetPlayerFlag(boxFlag, true);
GameMessages::SendFireEventClientSide(self->GetObjectID(), user->GetSystemAddress(), u"achieve", LWOOBJID_EMPTY, 0, -1, LWOOBJID_EMPTY);
}
}