|  |  | @ -9,6 +9,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | package engine.net.client.msg; |  |  |  | package engine.net.client.msg; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import engine.Enum; | 
			
		
	
		
		
			
				
					
					|  |  |  | import engine.Enum.*; |  |  |  | import engine.Enum.*; | 
			
		
	
		
		
			
				
					
					|  |  |  | import engine.gameManager.BuildingManager; |  |  |  | import engine.gameManager.BuildingManager; | 
			
		
	
		
		
			
				
					
					|  |  |  | import engine.gameManager.ZoneManager; |  |  |  | import engine.gameManager.ZoneManager; | 
			
		
	
	
		
		
			
				
					|  |  | @ -531,7 +532,10 @@ public class ManageCityAssetsMsg extends ClientNetMsg { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 else if (building.getRank() == building.getBlueprint().getMaxRank()) |  |  |  |                 else if (building.getRank() == building.getBlueprint().getMaxRank()) | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.upgradeCost = Integer.MAX_VALUE; |  |  |  |                     this.upgradeCost = Integer.MAX_VALUE; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 else |  |  |  |                 else | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.upgradeCost = building.getBlueprint().getRankCost(Math.min(building.getRank() + 1, 7)); |  |  |  |                     if(building.getBlueprint().getBuildingGroup().equals(Enum.BuildingGroup.WAREHOUSE)) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         this.upgradeCost = Integer.MAX_VALUE; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     else | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         this.upgradeCost = building.getBlueprint().getRankCost(Math.min(building.getRank() + 1, 7)); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 writer.putInt(this.upgradeCost); |  |  |  |                 writer.putInt(this.upgradeCost); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } else |  |  |  |             } else | 
			
		
	
	
		
		
			
				
					|  |  | 
 |