forked from OpenWF/SpaceNinjaServer
		
	fix: extractor drone reward amounts (#2629)
Fixes #2628 Reviewed-on: OpenWF/SpaceNinjaServer#2629 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: VampireKitten <dynamightkobold@gmail.com> Co-committed-by: VampireKitten <dynamightkobold@gmail.com>
This commit is contained in:
		
							parent
							
								
									c47a29ec96
								
							
						
					
					
						commit
						9f8105d7f1
					
				@ -72,7 +72,7 @@ export const dronesController: RequestHandler = async (req, res) => {
 | 
				
			|||||||
                );
 | 
					                );
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
            drone.ResourceCount = 1;
 | 
					            drone.ResourceCount = droneMeta.binCapacity * droneMeta.capacityMultipliers[resource.Rarity];
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        await inventory.save();
 | 
					        await inventory.save();
 | 
				
			||||||
        res.json({});
 | 
					        res.json({});
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user