Skip to content

Commit 285678e

Browse files
committed
feat: add PostSelectAction
1 parent 419628a commit 285678e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CS2MenuManager_MenuManager/CS2MenuManager_MenuManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void OnTestMe(CCSPlayerController? player, CommandInfo info)
9999
menu.AddItem($"Test Nothing", (p, o) => { p.PrintToChat("Test Nothing selected"); o.PostSelectAction = PostSelectAction.Nothing; o.Text = "Nothing"; });
100100
menu.AddItem("Test Item 6", (p, o) => { p.PrintToChat("Test Item 6 selected"); });
101101
menu.AddItem("Test Item 7", (p, o) => { p.PrintToChat("Test Item 7 selected"); });
102-
menu.AddItem($"Test Reset", (p, o) => { p.PrintToChat("Test Reset selected"); o.PostSelectAction = PostSelectAction.Reset; o.Text = "Reset"; });
102+
menu.AddItem($"Test Reset", (p, o) => { p.PrintToChat("Test Reset selected"); o.PostSelectAction = PostSelectAction.Reset; o.Text = "Reset"; });
103103
menu.AddItem($"Test Nothing", (p, o) => { p.PrintToChat("Test Nothing selected"); o.PostSelectAction = PostSelectAction.Nothing; o.Text = "Nothing"; });
104104
105105
menu.Display(player, 0);

0 commit comments

Comments
 (0)