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:
Miya 2022-07-21 02:00:48 +08:00
parent 54071b218a
commit 37931b89a4

View File

@ -595,7 +595,7 @@ namespace cheat::feature
if (m_CompletedPoints.empty())
return;
PointData* pointData = *m_CompletedPoints.begin();
PointData* pointData = *--m_CompletedPoints.end();
pointData->completed = false;
pointData->completeTimestamp = 0;
m_ScenesData[pointData->sceneID].labels[pointData->labelID].completedCount--;