From: Ralf Jung Date: Fri, 18 Jul 2014 15:29:47 +0000 (+0200) Subject: fix score X-Git-Url: https://git.ralfj.de/multypo.git/commitdiff_plain/a04d2f422e82b6c760b06daee47c0fcca1dc8064?ds=inline;hp=4978fd909202554270ec12c87d78a990001b17e4 fix score --- diff --git a/qt/multypo.cpp b/qt/multypo.cpp index fff1da7..07d60b3 100644 --- a/qt/multypo.cpp +++ b/qt/multypo.cpp @@ -104,7 +104,7 @@ void MultypoWindow::handleKeyPress(int device, QString string) } else if (state == Playing) { // all players are waiting or typing if (player->getState() == Player::Typing && player->getCurrentWord() == currentWord) { - int points = typingPlayers()+1; + int points = typingPlayers(); player->wordComplete(points); QString readyString = QString("READY: %1 points").arg(points); if (allPlayersWaiting()) {