Skip to content

Commit

Permalink
Close menu on RPS
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Mar 25, 2024
1 parent 36d3b92 commit 3eff26b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ private void OnSelect(CCSPlayerController player, ChatMenuOption option)
{
if (player.Slot != prisoner.Slot && player.Slot != guard.Slot)
return;
MenuManager.CloseActiveMenu(player);

int choice = Array.IndexOf(new[] { "Rock", "Paper", "Scissors" }, option.Text);

Expand Down

0 comments on commit 3eff26b

Please sign in to comment.