forked from OpenWF/SpaceNinjaServer
		
	fix: swapped operands (#2119)
Closes #2118 Reviewed-on: OpenWF/SpaceNinjaServer#2119 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
							
								
									01492f4f16
								
							
						
					
					
						commit
						20c4092dfe
					
				@ -310,7 +310,7 @@ export const getInventoryResponse = async (
 | 
				
			|||||||
        // Fix nemesis for older versions
 | 
					        // Fix nemesis for older versions
 | 
				
			||||||
        if (
 | 
					        if (
 | 
				
			||||||
            inventoryResponse.Nemesis &&
 | 
					            inventoryResponse.Nemesis &&
 | 
				
			||||||
            version_compare(getNemesisManifest(inventoryResponse.Nemesis.manifest).minBuild, buildLabel) < 0
 | 
					            version_compare(buildLabel, getNemesisManifest(inventoryResponse.Nemesis.manifest).minBuild) < 0
 | 
				
			||||||
        ) {
 | 
					        ) {
 | 
				
			||||||
            inventoryResponse.Nemesis = undefined;
 | 
					            inventoryResponse.Nemesis = undefined;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user