Use correct save context for triforce piece collected save data (#3301)

* gSaveContext->saveContext for triforce piece save manager save

* use an arrow..
This commit is contained in:
inspectredc 2023-10-22 02:55:55 +01:00 committed by GitHub
parent 3516b4443d
commit 77c8c832c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -342,7 +342,7 @@ void SaveManager::SaveRandomizer(SaveContext* saveContext, int sectionID, bool f
SaveManager::Instance->SaveData("adultTradeItems", saveContext->adultTradeItems);
SaveManager::Instance->SaveData("triforcePiecesCollected", gSaveContext.triforcePiecesCollected);
SaveManager::Instance->SaveData("triforcePiecesCollected", saveContext->triforcePiecesCollected);
SaveManager::Instance->SaveData("pendingIceTrapCount", saveContext->pendingIceTrapCount);