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:
Sainan 2025-06-06 13:13:36 -07:00 committed by Sainan
parent 01492f4f16
commit 20c4092dfe

View File

@ -310,7 +310,7 @@ export const getInventoryResponse = async (
// Fix nemesis for older versions
if (
inventoryResponse.Nemesis &&
version_compare(getNemesisManifest(inventoryResponse.Nemesis.manifest).minBuild, buildLabel) < 0
version_compare(buildLabel, getNemesisManifest(inventoryResponse.Nemesis.manifest).minBuild) < 0
) {
inventoryResponse.Nemesis = undefined;
}