Skip to content

Commit 565e6a7

Browse files
MateusStanoGui-FernandesBR
authored andcommitted
BUG: restart rail buttons components
1 parent 4e69800 commit 565e6a7

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)