Add new action post hog
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
This commit is contained in:
parent
3487fa90e0
commit
ecc6321e17
5 changed files with 38 additions and 0 deletions
|
@ -4,6 +4,7 @@ import { loginSceneVisibleIframeStore, loginSceneVisibleStore } from "../../Stor
|
|||
import { localUserStore } from "../../Connexion/LocalUserStore";
|
||||
import { connectionManager } from "../../Connexion/ConnectionManager";
|
||||
import { gameManager } from "../Game/GameManager";
|
||||
import { analyticsClient } from "../../Administration/AnalyticsClient";
|
||||
|
||||
export const LoginSceneName = "LoginScene";
|
||||
|
||||
|
@ -34,6 +35,8 @@ export class LoginScene extends ResizableScene {
|
|||
}
|
||||
|
||||
public login(name: string): void {
|
||||
analyticsClient.validationName();
|
||||
|
||||
name = name.trim();
|
||||
gameManager.setPlayerName(name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue