woso_javan 4 месяцев назад
Родитель
Сommit
51d1fe82d9
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      assets/module_movecar/Script/Systems/UnitColorsSysterm.ts

+ 5 - 0
assets/module_movecar/Script/Systems/UnitColorsSysterm.ts

@@ -42,6 +42,11 @@ export class UnitColorsSysterm extends Component {
                 continue
             }
 
+            if (points[i].name === "inuse" && points[i].children.length === 2) {
+                cars.push(points[i].children[1])
+                continue
+            }
+
             if (points[i].name === "empty") {
                 isEmpty = true
                 continue