Skip to content

Commit

Permalink
BUG: restart rail buttons components
Browse files Browse the repository at this point in the history
  • Loading branch information
MateusStano committed Oct 3, 2024
1 parent 0cc71cb commit dfcf2d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rocketpy/rocket/rocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,7 @@ def __add_single_surface(self, surface, position):
else Vector(position)
)
if isinstance(surface, RailButtons):
self.rail_buttons = Components()
self.rail_buttons.add(surface, position)
else:
self.aerodynamic_surfaces.add(surface, position)
Expand Down

0 comments on commit dfcf2d8

Please sign in to comment.