fix: use netracell search pulse only when container item was picked up #2687
@ -1223,12 +1223,6 @@ 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) {
 | 
			
		||||
@ -1395,6 +1389,12 @@ export const addMissionRewards = async (
 | 
			
		||||
                    logger.error(`unknown droptable ${si.DropTable} for DROP_MISC_ITEM`);
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (si.DropTable == "/Lotus/Types/DropTables/ContainerDropTables/VoidVaultMissionRewardsDropTable") {
 | 
			
		||||
                // Consume netracells search pulse; only when the container reward was picked up. Discussed in https://onlyg.it/OpenWF/SpaceNinjaServer/issues/2673
 | 
			
		||||
                updateEntratiVault(inventory);
 | 
			
		||||
                inventory.EntratiVaultCountLastPeriod! += 1;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user