only consume search pulse on successful completion
All checks were successful
Build / build (pull_request) Successful in 1m6s
All checks were successful
Build / build (pull_request) Successful in 1m6s
This commit is contained in:
parent
9eefe5db84
commit
2fe9843429
@ -170,12 +170,6 @@ export const addMissionInventoryUpdates = async (
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
||||
// Consume netracells search pulse
|
||||
if (inventoryUpdates.Missions.Tag == "SolNode720") {
|
||||
updateEntratiVault(inventory);
|
||||
inventory.EntratiVaultCountLastPeriod! += 1;
|
||||
}
|
||||
}
|
||||
if (inventoryUpdates.KeyToRemove) {
|
||||
if (!inventoryUpdates.KeyOwner || inventory.accountOwnerId.equals(inventoryUpdates.KeyOwner)) {
|
||||
@ -1221,6 +1215,12 @@ export const addMissionRewards = async (
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
||||
// Consume netracells search pulse. Moved here to only cover successful completions. Discussed in https://onlyg.it/OpenWF/SpaceNinjaServer/issues/2673
|
||||
if (missions.Tag == "SolNode720") {
|
||||
updateEntratiVault(inventory);
|
||||
inventory.EntratiVaultCountLastPeriod! += 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (rewardInfo.useVaultManifest) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user