hotfix bonus
This commit is contained in:
parent
a451bf2af5
commit
48feb920ce
2 changed files with 2 additions and 3 deletions
|
@ -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']);
|
||||||
|
|
|
@ -152,8 +152,6 @@ class Game
|
||||||
return $this->createdAt;
|
return $this->createdAt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the value of user.
|
* Sets the value of user.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue