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:
@@ -1002,6 +1002,7 @@ public sealed partial class ShuttleSystem
|
||||
continue;
|
||||
}
|
||||
|
||||
// If it has the FTLSmashImmuneComponent ignore it.
|
||||
if (_immuneQuery.HasComponent(ent))
|
||||
{
|
||||
continue;
|
||||
|
||||
@@ -110,6 +110,7 @@
|
||||
- type: WarpPoint
|
||||
follow: true
|
||||
location: nuclear bomb
|
||||
- type: FTLSmashImmune
|
||||
|
||||
- type: entity
|
||||
parent: NuclearBomb
|
||||
|
||||
Reference in New Issue
Block a user