Fix for arrivals deleting nuke (#33659)

Adds FTLSmashImmune to nuke prototype to stop it from arrival smashing
Adds a comment in FasterThanLight to indicate where the FTLSmashImmuneComponent is checked

Co-authored-by: aa5g21 <aa5g21@soton.ac.uk>
This commit is contained in:
Gansu
2024-11-30 02:48:04 +00:00
committed by GitHub
parent 6c86d7b32b
commit 9236e9e5b9
2 changed files with 2 additions and 0 deletions

View File

@@ -1002,6 +1002,7 @@ public sealed partial class ShuttleSystem
continue;
}
// If it has the FTLSmashImmuneComponent ignore it.
if (_immuneQuery.HasComponent(ent))
{
continue;

View File

@@ -110,6 +110,7 @@
- type: WarpPoint
follow: true
location: nuclear bomb
- type: FTLSmashImmune
- type: entity
parent: NuclearBomb