From 29c0a234d1f8e60592009433fdebac7cd9cdd828 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Mon, 16 Dec 2024 18:43:10 +0100 Subject: [PATCH] Masquage de la position de la joueuse adverse si on est poursuiveuse --- client/components/Map.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/client/components/Map.tsx b/client/components/Map.tsx index 1f16d79..1af026b 100644 --- a/client/components/Map.tsx +++ b/client/components/Map.tsx @@ -54,6 +54,7 @@ function PlayerLocationsMarkers() { const game = useGame() const lastPlayerLocations = useLastPlayerLocations() return lastPlayerLocations ? lastPlayerLocations + .filter(() => game.currentRunner === true || !game.gameStarted) .filter(playerLoc => playerLoc.playerId !== game.playerId) .map(playerLoc => ) : <> }