properties: fix visiting multiple owned by same person (#1325)

This commit is contained in:
David Markowitz 2023-12-01 08:13:01 -08:00 committed by GitHub
parent eca87c7257
commit 731b828c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -164,6 +164,8 @@ public:
LWOCLONEID GetCloneId() { return clone_Id; };
LWOOBJID GetId() const noexcept { return propertyId; }
private:
/**
* This

View File

@ -101,7 +101,7 @@ void BasePropertyServer::BasePlayerLoaded(Entity* self, Entity* player) {
missionComponent->Progress(
eMissionTaskType::VISIT_PROPERTY,
mapID.GetMapID(),
mapID.GetCloneID()
PropertyManagementComponent::Instance()->GetId()
);
}
}