hotfix bonus

This commit is contained in:
Ruben 2016-11-03 18:04:31 +01:00
parent a451bf2af5
commit 48feb920ce
2 changed files with 2 additions and 3 deletions

View file

@ -93,7 +93,8 @@ class ScoreControllerProvider implements ControllerProviderInterface
$hit->setTarget($target); $hit->setTarget($target);
$hit->setScore($data_hit['score']); // fix until bonus is separately saved
$hit->setScore($data_hit['score'] + $data_hit['bonus']);
// attributes // attributes
$hit->getAttributes()->setGlasses($data_hit['glasses']); $hit->getAttributes()->setGlasses($data_hit['glasses']);

View file

@ -152,8 +152,6 @@ class Game
return $this->createdAt; return $this->createdAt;
} }
/** /**
* Sets the value of user. * Sets the value of user.
* *