chg: usr: make the first working version - the stepping is broken due to the algorythm structure #4
This commit is contained in:
@@ -54,8 +54,9 @@ class RpcManager extends WebsocketManager implements RpcManagerInterface
|
||||
*/
|
||||
public function getConnectInformation($params): string
|
||||
{
|
||||
$grid = $this->getGrid($params);
|
||||
$users = null !== $grid ? $this->getUsers($params) : null;
|
||||
$gameAssoc = is_array($params) ? $params[0] : $params;
|
||||
$grid = $this->getGrid($gameAssoc);
|
||||
$users = null !== $grid ? $this->getUsers($gameAssoc) : null;
|
||||
|
||||
return base64_encode(json_encode(array(
|
||||
'grid' => $grid,
|
||||
|
||||
Reference in New Issue
Block a user