diff --git a/packages/playground/src/utils/nodeSelector.ts b/packages/playground/src/utils/nodeSelector.ts index 4ab1d67440..cb37068d2d 100644 --- a/packages/playground/src/utils/nodeSelector.ts +++ b/packages/playground/src/utils/nodeSelector.ts @@ -352,7 +352,7 @@ export async function selectValidNode( } if (oldSelectedNodeId || rentedNode) { - const node = rentedNode || nodes.find(n => n.nodeId === oldSelectedNodeId); + const node = nodes.find(n => n.nodeId === oldSelectedNodeId) || rentedNode; if (node && isNodeValid(getFarm, node, selectedMachines, filters)) { if (nodesLock && !locked) {