Coinflip result is send to the area
Freedom of information!
This commit is contained in:
parent
f2943c5ebe
commit
727c9e4f04
@ -25,7 +25,7 @@ void AOClient::cmdFlip(int argc, QStringList argv)
|
||||
QString sender_name = ooc_name;
|
||||
QStringList faces = {"heads","tails"};
|
||||
QString face = faces[AOClient::genRand(0,1)];
|
||||
sendServerMessage(sender_name + " flipped a coin and got " + face + ".");
|
||||
sendServerMessageArea(sender_name + " flipped a coin and got " + face + ".");
|
||||
}
|
||||
|
||||
void AOClient::cmdRoll(int argc, QStringList argv)
|
||||
|
Loading…
Reference in New Issue
Block a user