Skip to content

Commit

Permalink
improvement: show player what he has rolled
Browse files Browse the repository at this point in the history
  • Loading branch information
derkalle4 committed Dec 29, 2024
1 parent f3f1dbe commit 15d95d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/RollTheDice+Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ public void CommandRollTheDice(CCSPlayerController player, CommandInfo command)
}
player.PrintToCenter(message);
player.PrintToChat(message);
// change player message (if any)
_playersThatRolledTheDice[player] = message;
}
// play sound
player.ExecuteClientCommand("play sounds/ui/coin_pickup_01.vsnd");
Expand Down

0 comments on commit 15d95d7

Please sign in to comment.