Add new action post hog
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user