Browse Source

update transporter placing state safe move interlock

chenkui 1 month ago
parent
commit
41534ec752
1 changed files with 2 additions and 1 deletions
  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
                 ||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);
                 if(conflict)