diff --git a/front/src/Components/FollowMenu/FollowMenu.svelte b/front/src/Components/FollowMenu/FollowMenu.svelte
index c38571bd..035bc06f 100644
--- a/front/src/Components/FollowMenu/FollowMenu.svelte
+++ b/front/src/Components/FollowMenu/FollowMenu.svelte
@@ -58,6 +58,7 @@ vim: ft=typescript
function sendFollowRequest() {
gameScene.connection?.emitFollowRequest();
+ followRoleStore.set(followRoles.leader);
followStateStore.set(followStates.active);
}
@@ -75,11 +76,6 @@ vim: ft=typescript
followUsersStore.stopFollowing();
}
- function request() {
- followStateStore.set(followStates.requesting);
- followRoleStore.set(followRoles.leader);
- }
-
function onKeyDown(e: KeyboardEvent) {
if (e.key === "Escape") {
reset();
@@ -106,12 +102,7 @@ vim: ft=typescript
{:else if followRole === followRoles.leader}
-
{/if}
@@ -160,7 +151,7 @@ vim: ft=typescript
{/if}