修改 TransferAllFromPocketToMainMap() 方法,确保它在收集待转移的Pawn时,能包含所有的Pawn类型,而不仅仅是殖民者。
This commit is contained in:
Binary file not shown.
@@ -566,8 +566,7 @@ namespace WulaFallenEmpire
|
|||||||
Log.Message($"[WULA-DEBUG] Found CompTransporter with {transporter.innerContainer.Count} existing items");
|
Log.Message($"[WULA-DEBUG] Found CompTransporter with {transporter.innerContainer.Count} existing items");
|
||||||
|
|
||||||
// 转移所有殖民者
|
// 转移所有殖民者
|
||||||
List<Pawn> pawnsToTransfer = pocketMap.mapPawns.AllPawnsSpawned
|
List<Pawn> pawnsToTransfer = pocketMap.mapPawns.AllPawnsSpawned.ToList();
|
||||||
.Where(p => p.IsColonist).ToList();
|
|
||||||
|
|
||||||
Log.Message($"[WULA-DEBUG] Found {pawnsToTransfer.Count} colonists to transfer");
|
Log.Message($"[WULA-DEBUG] Found {pawnsToTransfer.Count} colonists to transfer");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user