From 222eb57de32045e286a43bfdccd044ee7e1555bb Mon Sep 17 00:00:00 2001 From: Ruben Date: Sun, 4 Sep 2016 17:39:04 +0100 Subject: [PATCH] Punctuation in hint --- src/Models/Game.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Models/Game.php b/src/Models/Game.php index 18b06a7..4b6fbce 100644 --- a/src/Models/Game.php +++ b/src/Models/Game.php @@ -217,7 +217,7 @@ class Game $exaggerate = ($target->getScore() - $hit->getEmotions()->getEmotionScore($emotion)) > 20 ? "only " : ""; $exaggerate = ($target->getScore() - $hit->getEmotions()->getEmotionScore($emotion)) < -20 ? "a whopping " : $only; - $text = "When you had to feel " + $text = "When you had to feel " . $target->getScore() ."% " . $emotion->getName() ." you showed " . $exaggerate . round($hit->getEmotions()->getEmotionScore($emotion),3) ."%."; $betterHit = Application::getInstance()->getEm()->getRepository(Hit::class)->getBetterHit($lowest_scoring_hit); @@ -236,7 +236,7 @@ class Game if($diffExpression) { $diffExpressionText = $betterHit->getExpressions()::$EXPRESSIONS_2ND_PERSON[$diffExpression]; - $text .= " To show your empathy, you have to " . $diffExpressionText ." " . $diff . "% " . $diffText; + $text .= " To show your empathy, you have to " . $diffExpressionText ." " . $diff . "% " . $diffText ."."; } }