Explorar o código

过滤不合格的策略

flyzto hai 1 mes
pai
achega
1f9d9f6e5f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      server/models/GamesPs.js

+ 2 - 2
server/models/GamesPs.js

@@ -1094,8 +1094,8 @@ const getSolutionsByIds = async (ids) => {
     result[id].sols = [];
   });
   Object.values(GAMES.Solutions).forEach(item => {
-    const { info: { id } } = item;
-    if (result[id]) {
+    const { info: { id }, lower } = item;
+    if (result[id] && !lower) {
       result[id].sols.push(item);
     }
   });