Update a comment to match the code (#3565)

This commit is contained in:
Adrian Sadłocha 2024-07-25 00:52:25 +01:00 committed by GitHub
parent 40ea3f2f54
commit 4dc3093b22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -260,7 +260,7 @@ int CmdCustom::execute (std::string& output)
std::mt19937 random_generator(device());
std::uniform_int_distribution<std::mt19937::result_type> twentyfive_percent(1, 4);
// 1 in 10 chance to display the message.
// 25% chance to display the message.
if (twentyfive_percent(random_generator) == 4)
{
std::ostringstream notice;