Merge branch 'master' of https://codefirst.iut.uca.fr/git/nathan.boileau/Scripted
continuous-integration/drone/push Build is passing Details

ServeurDeTest
nathan boileau 2 years ago
commit 0e74b71221

@ -205,8 +205,8 @@ class UserController
$model = new UserModel();
$model->addToQueue();
$userGroup = $model->findUserGroup();
//$io = get_io();
//$io->to($userGroup)->emit("launchGame");
$io = require('server.js')->get_io();
$io->to($userGroup)->emit("launchGame");
} catch (Exception $e) {
$error = $e->getMessage();
require($rep . $vues['erreur']);

Loading…
Cancel
Save