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 => ) : <> }