From 105d2aad887be23a6a8ff96b65b64a8211259c8e Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Fri, 20 Dec 2024 08:07:08 +0100 Subject: [PATCH] Correction du partage de la position pour la joueuse qui n'est pas en course --- client/app.json | 2 +- client/components/Map.tsx | 2 +- client/package.json | 2 +- server/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/app.json b/client/app.json index 04882c4..7b8fc92 100644 --- a/client/app.json +++ b/client/app.json @@ -2,7 +2,7 @@ "expo": { "name": "Traintrape-moi", "slug": "traintrape-moi-client", - "version": "1.1.0", + "version": "1.1.1", "orientation": "portrait", "icon": "./assets/images/icon.png", "scheme": "traintrapemoi", diff --git a/client/components/Map.tsx b/client/components/Map.tsx index bdeafe9..ff8615e 100644 --- a/client/components/Map.tsx +++ b/client/components/Map.tsx @@ -80,7 +80,7 @@ function PlayerLocationsMarkers({ setDisplayedPlayerId }: { setDisplayedPlayerId const game = useGame() const lastPlayerLocations = useLastPlayerLocations() return lastPlayerLocations ? lastPlayerLocations - .filter(() => game.currentRunner === true || !game.gameStarted) + .filter(() => !game.currentRunner || !game.gameStarted) .filter(playerLoc => playerLoc.playerId !== game.playerId) .map(playerLoc => ) : <> } diff --git a/client/package.json b/client/package.json index ae6221f..52d37e1 100644 --- a/client/package.json +++ b/client/package.json @@ -1,7 +1,7 @@ { "name": "traintrape-moi-client", "main": "expo-router/entry", - "version": "1.1.0", + "version": "1.1.1", "scripts": { "start": "expo start", "android": "expo run:android", diff --git a/server/package.json b/server/package.json index 51256d3..9dc9343 100644 --- a/server/package.json +++ b/server/package.json @@ -1,6 +1,6 @@ { "name": "traintrape-moi-server", - "version": "1.1.0", + "version": "1.1.1", "description": "", "author": "", "private": true,