fixed clue not working
This commit is contained in:
parent
2f4cae006c
commit
2af290c60e
@ -50,13 +50,14 @@ bool FourasModule::messageHandler(Message msg)
|
||||
if(current != -1)
|
||||
{
|
||||
QString str = riddles->getAnswer(current);
|
||||
answer = "Indice : ";
|
||||
QString answerStr = "Indice : ";
|
||||
bool first = true;
|
||||
for(QChar c : str)
|
||||
{
|
||||
answer.append(first ? QString(c) : QString(" _"));
|
||||
answerStr.append(first ? QString(c) : QString(" _"));
|
||||
first = false;
|
||||
}
|
||||
answer = say(answerStr);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user