MAPG-235 basic gameflow works
This commit is contained in:
1 parent
5daed10036
commit
93f8fc3f34
10 files changed
+209
-55
No files matched your search
@@ -244,7 +244,9 @@ class GameController
|
||||
if(!$this->userInChallengeRepository->isUserParticipatingInChallenge($userId, $challenge)) {
|
||||
$userInChallenge = new UserInChallenge();
|
||||
$userInChallenge->setUserId($userId);
|
||||
$userInChallenge->setChallenge($challenge);
|
||||
$userInChallenge->setTimeLeft($challenge->getTimerSec());
|
||||
$this->pdm->saveToDb($userInChallenge);
|
||||
}
|
||||
|
||||
$map = $this->mapRepository->getByChallenge($challenge);
|
||||
|
||||
Reference in new issue
Block a user