暂存穿梭机飞走不删地图
This commit is contained in:
@@ -15,8 +15,9 @@ namespace WulaFallenEmpire
|
||||
try
|
||||
{
|
||||
// 检查地图上是否存在一个口袋空间已经初始化的武装穿梭机
|
||||
// 只要地图上存在一个活着的武装穿梭机,就保护地图
|
||||
return map.listerThings.AllThings.OfType<Building_ArmedShuttleWithPocket>()
|
||||
.Any(shuttle => shuttle != null && shuttle.Spawned && shuttle.PocketMapGenerated);
|
||||
.Any(shuttle => shuttle != null && shuttle.Spawned && !shuttle.Destroyed);
|
||||
}
|
||||
catch (Exception arg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user