diff --git a/rocketpy/rocket/rocket.py b/rocketpy/rocket/rocket.py index fc5aba482..61de81f27 100644 --- a/rocketpy/rocket/rocket.py +++ b/rocketpy/rocket/rocket.py @@ -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)