🚑 修复当作物阶段计算下标错误的BUG

This commit is contained in:
2025-06-03 16:24:04 +08:00
parent 776b408c9c
commit ba2ecf19fc
412 changed files with 7 additions and 4 deletions
+6 -3
View File
@@ -117,10 +117,13 @@ class CPlantManager:
seen = set()
result = []
for x in phase:
if x not in seen:
seen.add(int(x))
result.append(int(x))
num = int(x)
if num not in seen:
seen.add(num)
result.append(num)
return result
except Exception as e: