Parcourir la source

update transporter placing state safe move interlock

chenkui il y a 2 mois
Parent
commit
41534ec752
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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)