fix: use netracell search pulse only when container item was picked up (#2687)
Reviewed-on: #2687 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									ffcbbb480b
								
							
						
					
					
						commit
						f06a3b8187
					
				@ -1219,12 +1219,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) {
 | 
					    if (rewardInfo.useVaultManifest) {
 | 
				
			||||||
@ -1391,6 +1385,12 @@ export const addMissionRewards = async (
 | 
				
			|||||||
                    logger.error(`unknown droptable ${si.DropTable} for DROP_MISC_ITEM`);
 | 
					                    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