feat(control) 小地图

This commit is contained in:
chicrobot committed 2025-12-31 00:30:38 +08:00
1 parent f86e5f3a79
commit e2bc630d6d
8 files changed
+339 -24

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ export let selectedUnits = [];
export function setActiveUnit(unit) {
activeUnit = unit;
selectedUnits = unit ? [unit] : [];
// 不再重置selectedUnits数组,这样可以同时选中多个单位
}
export function addToSelection(unit) {