From bf96018c2001b35f1a5273ce0bd7b6bc2b9bd979 Mon Sep 17 00:00:00 2001 From: DaNike Date: Wed, 1 Jan 2025 04:22:35 -0600 Subject: [PATCH] Document DSubmenuListTTT2:ResetSubmenuList() --- .../gamemode/client/cl_vskin/vgui/dsubmenulist_ttt2.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gamemodes/terrortown/gamemode/client/cl_vskin/vgui/dsubmenulist_ttt2.lua b/gamemodes/terrortown/gamemode/client/cl_vskin/vgui/dsubmenulist_ttt2.lua index 086d98914..16cc102e5 100644 --- a/gamemodes/terrortown/gamemode/client/cl_vskin/vgui/dsubmenulist_ttt2.lua +++ b/gamemodes/terrortown/gamemode/client/cl_vskin/vgui/dsubmenulist_ttt2.lua @@ -134,6 +134,9 @@ function PANEL:AddSubmenuButton(submenuClass) return settingsButton end +--- +-- Resets the submenu list, clearing both the nav buttons and associated content area. +-- @realm client function PANEL:ResetSubmenuList() self.navAreaScrollGrid:Clear() self.contentArea:Clear()