|  |  | @ -174,8 +174,7 @@ public class WorkOrder implements Delayed { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else { |  |  |  |         } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |             int overflowAmount = workOrder.production_cost_total.get(mbEnums.ResourceType.GOLD) - strongbox; |  |  |  |             int overflowAmount = workOrder.production_cost_total.get(mbEnums.ResourceType.GOLD) - strongbox; | 
			
		
	
		
		
			
				
					
					|  |  |  |             workOrder.vendor.building.setStrongboxValue(0); |  |  |  |             workOrder.vendor.building.setStrongboxValue(0); | 
			
		
	
		
		
			
				
					
					|  |  |  |             int adjustedAmount = workOrder.production_cost_total.get(mbEnums.ResourceType.GOLD) - overflowAmount; |  |  |  |             modified_production_cost.put(mbEnums.ResourceType.GOLD, overflowAmount); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             modified_production_cost.put(mbEnums.ResourceType.GOLD, adjustedAmount); |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         // Deduct total production cost from warehouse
 |  |  |  |         // Deduct total production cost from warehouse
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |