fix interactive map revert latest point completion
It looks like "unordered_set" is in forward order in memory instead of reverse order
This commit is contained in:
parent
f3a0f88de1
commit
372663de71
@ -595,7 +595,7 @@ namespace cheat::feature
|
|||||||
if (m_CompletedPoints.empty())
|
if (m_CompletedPoints.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
PointData* pointData = *m_CompletedPoints.begin();
|
PointData* pointData = *--m_CompletedPoints.end();
|
||||||
pointData->completed = false;
|
pointData->completed = false;
|
||||||
pointData->completeTimestamp = 0;
|
pointData->completeTimestamp = 0;
|
||||||
m_ScenesData[pointData->sceneID].labels[pointData->labelID].completedCount--;
|
m_ScenesData[pointData->sceneID].labels[pointData->labelID].completedCount--;
|
||||||
|
Loading…
Reference in New Issue
Block a user