From b1eda42289cc8a7f68512b4c5568994fe2d39ab0 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Tue, 10 Aug 2021 18:56:40 -0400 Subject: [PATCH] Fix race condition on first time uses of Er'cana/Ahnonay books. Some of the Python code expects for explicit Age initialization to complete immediately. Rewriting that would be something of a chore, so this will prevent first time clicks on the Er'cana and Ahnoying Cathedral books from causing a perma-stick. Homologue of H'uru commit ec0aecd2024d964be6b1a25205c17dc70d62b3e3 --- Sources/Plasma/FeatureLib/pfPython/pyVault.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Plasma/FeatureLib/pfPython/pyVault.cpp b/Sources/Plasma/FeatureLib/pfPython/pyVault.cpp index b78cc53d..a25fa858 100644 --- a/Sources/Plasma/FeatureLib/pfPython/pyVault.cpp +++ b/Sources/Plasma/FeatureLib/pfPython/pyVault.cpp @@ -556,7 +556,7 @@ void pyVault::RegisterMTStation( const char * stationName, const char * backLink void pyVault::RegisterOwnedAge( const pyAgeLinkStruct & link ) { - VaultRegisterOwnedAge(link.GetAgeLink()); + VaultRegisterOwnedAgeAndWait(link.GetAgeLink()); } void pyVault::UnRegisterOwnedAge( const char * ageFilename )