浏览代码

update transporter placing state safe move interlock

chenkui 2 月之前
父节点
当前提交
41534ec752
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      CyberX8_RT/Modules/Transporter/TransporterEntity.cs

+ 2 - 1
CyberX8_RT/Modules/Transporter/TransporterEntity.cs

@@ -1128,7 +1128,8 @@ namespace CyberX8_RT.Modules.Transporter
 
 
             if(otherEntity.State==(int)TransporterState.Transfering||otherEntity.State==(int)TransporterState.PickUpMoveToing
             if(otherEntity.State==(int)TransporterState.Transfering||otherEntity.State==(int)TransporterState.PickUpMoveToing
                 ||otherEntity.State==(int)TransporterState.MovingTo||otherEntity.State==(int)TransporterState.PickUpValidating
                 ||otherEntity.State==(int)TransporterState.MovingTo||otherEntity.State==(int)TransporterState.PickUpValidating
-                ||otherEntity.State==(int)TransporterState.PickUpValidateComplete||otherEntity.State==(int)TransporterState.ValidateMoveTo)
+                ||otherEntity.State==(int)TransporterState.PickUpValidateComplete||otherEntity.State==(int)TransporterState.ValidateMoveTo
+                ||otherEntity.State==(int)TransporterState.Placing)
             {
             {
                 bool conflict= CheckModuleWithOtherModuleConflict(otherEntity,otherModule,positive,targetCell);
                 bool conflict= CheckModuleWithOtherModuleConflict(otherEntity,otherModule,positive,targetCell);
                 if(conflict)
                 if(conflict)