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 authored and Gui-FernandesBR committed Oct 9, 2024
1 parent 4e69800 commit 565e6a7
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 565e6a7

Please sign in to comment.