forked from OpenWF/SpaceNinjaServer
		
	chore(webui): give the user higher quantity of ShipDecorations (#2791)
100 is way too low. 999999 should be enough (was also the same number IIRC from the previous ShipDecorations cheat) for everything probably Reviewed-on: OpenWF/SpaceNinjaServer#2791 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: Animan8000 <animan8000@noreply.localhost> Co-committed-by: Animan8000 <animan8000@noreply.localhost>
This commit is contained in:
		
							parent
							
								
									a3cc7d9f92
								
							
						
					
					
						commit
						4fa07a1319
					
				@ -2269,7 +2269,7 @@ function addMissingEquipment(categories) {
 | 
				
			|||||||
            ) {
 | 
					            ) {
 | 
				
			||||||
                if (!webUiModularWeapons.includes(elm.getAttribute("data-key"))) {
 | 
					                if (!webUiModularWeapons.includes(elm.getAttribute("data-key"))) {
 | 
				
			||||||
                    let ItemCount = 1;
 | 
					                    let ItemCount = 1;
 | 
				
			||||||
                    if (category == "ShipDecorations") ItemCount = 100;
 | 
					                    if (category == "ShipDecorations") ItemCount = 999999;
 | 
				
			||||||
                    requests.push({ ItemType: elm.getAttribute("data-key"), ItemCount });
 | 
					                    requests.push({ ItemType: elm.getAttribute("data-key"), ItemCount });
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user