Skip to content

Commit

Permalink
Fix for arrivals deleting nuke (space-wizards#33659)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
2 people authored and Doctor-Cpu committed Jan 2, 2025
1 parent f48dbbf commit 3dd7cf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,7 @@ private void Smimsh(EntityUid uid, FixturesComponent? manager = null, MapGridCom
continue;
}

// If it has the FTLSmashImmuneComponent ignore it.
if (_immuneQuery.HasComponent(ent))
{
continue;
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Entities/Structures/Machines/nuke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
- type: WarpPoint
follow: true
location: nuclear bomb
- type: FTLSmashImmune

- type: entity
parent: NuclearBomb
Expand Down

0 comments on commit 3dd7cf8

Please sign in to comment.