mirror of
https://github.com/360NENZ/Taiga74164-Akebi-GC.git
synced 2025-09-19 04:06:12 +08:00
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:
@ -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--;
|
||||||
|
Reference in New Issue
Block a user