Skip to content

Commit dfcf2d8

Browse files
committed
BUG: restart rail buttons components
1 parent 0cc71cb commit dfcf2d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rocketpy/rocket/rocket.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,7 @@ def __add_single_surface(self, surface, position):
976976
else Vector(position)
977977
)
978978
if isinstance(surface, RailButtons):
979+
self.rail_buttons = Components()
979980
self.rail_buttons.add(surface, position)
980981
else:
981982
self.aerodynamic_surfaces.add(surface, position)

0 commit comments

Comments
 (0)