Skip to content

Commit

Permalink
Merge pull request #150 from InvalidArgument3/initialversion
Browse files Browse the repository at this point in the history
more respawn ships
  • Loading branch information
InvalidArgument3 authored Oct 19, 2024
2 parents 756b192 + cd433f0 commit 9f33cb7
Show file tree
Hide file tree
Showing 5 changed files with 523 additions and 452 deletions.
5 changes: 3 additions & 2 deletions Slipspace Engine/Data/Scripts/WarpDrive/WarpDrive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
using VRage.Game.Components;
using VRage.Game.Entity;
using VRage.Game.ModAPI;
using VRage.Game.ModAPI.Interfaces;
using VRage.ModAPI;
using VRage.ObjectBuilders;
using VRage.Utils;
Expand Down Expand Up @@ -312,7 +313,7 @@ public bool ProxymityDangerInWarp(MatrixD gridMatrix, MyCubeGrid MainGrid, doubl
if (ent is MySafeZone)
return true;

if (!(ent is MyCubeGrid || ent is MyVoxelMap))
if (!(ent is MyCubeGrid || ent is MyVoxelMap || ent is IMyDestroyableObject ))
continue;

// dont stop if grid speed is 20 or above.
Expand Down Expand Up @@ -418,7 +419,7 @@ public bool ProxymityDangerCharge(MatrixD gridMatrix, IMyCubeGrid WarpGrid)
return true;
}

if (!(ent is MyCubeGrid || ent is MyVoxelMap))
if (!(ent is MyCubeGrid || ent is MyVoxelMap ))
continue;

// Checking proximity to entities
Expand Down
File renamed without changes.
Loading

0 comments on commit 9f33cb7

Please sign in to comment.