We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 759ec24 commit a0713afCopy full SHA for a0713af
1 file changed
FlashpointSecurePlayer/RegistryStates.cs
@@ -1091,9 +1091,8 @@ public override void Activate(string templateName) {
1091
} catch {
1092
// remove keys we didn't touch
1093
try {
1094
- while (registryStateIndex < modificationsElement.RegistryStates.Count) {
1095
- modificationsElement.RegistryStates.RemoveAt(registryStateIndex);
1096
- registryStateIndex++;
+ while (registryStateIndex < activeModificationsElement.RegistryStates.Count) {
+ activeModificationsElement.RegistryStates.RemoveAt(registryStateIndex);
1097
}
1098
1099
SetFlashpointSecurePlayerSection(TemplateName);
0 commit comments