Skip to content

Commit 55471ee

Browse files
committed
Fix a small issue with path not resetting after main menu.
1 parent 51935b1 commit 55471ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2967,7 +2967,7 @@ class _ThreadCreationMenuView(discord.ui.View):
29672967
def __init__(self, bot, outer_thread: Thread, option_data: dict, menu_msg: discord.Message, path: list = [], is_home: bool = True):
29682968
super().__init__(timeout=timeout)
29692969
self.outer_thread = outer_thread
2970-
self.path = [] if is_home else path
2970+
self.path = path
29712971
self.menu_msg = menu_msg
29722972
self.option_data = option_data
29732973
self.add_item(_ThreadCreationMenuSelect(bot, outer_thread, option_data=option_data, menu_msg=menu_msg, path=self.path, is_home=is_home))

0 commit comments

Comments
 (0)