Skip to content

Commit

Permalink
Close menu on RPS (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS authored Mar 25, 2024
2 parents 524307d + 3eff26b commit 55c5e45
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 55c5e45

Please sign in to comment.