Skip to content

Commit

Permalink
Revert "Update stop actions condition"
Browse files Browse the repository at this point in the history
This reverts commit 3ff8e60.
  • Loading branch information
olegsvs committed Dec 17, 2024
1 parent a3d57c4 commit d2fb8c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pages/map/components/MapComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,7 @@ export default function MapComponent() {
const currentPlayerWinner =
currentPlayer && winner && currentPlayer.id === winner.id

// const stopActions = showWinScreen || animating || currentPlayerWinner
const stopActions = animating || currentPlayerWinner
const stopActions = showWinScreen || animating || currentPlayerWinner
const showActionButton = currentPlayer && !timelapseEnabled && !stopActions
const showBigTimelapse = !showActionButton && !timelapseEnabled && !animating

Expand Down Expand Up @@ -461,7 +460,7 @@ export default function MapComponent() {
style={{ marginRight: '10px' }}
/>
<Box>
Можете выдыхать, ивент "закончен"{' — '}
Можете выдыхать, ивент закончен{' — '}
<Link to={`/players/${topPlayers[0].url_handle}`}>
<LinkSpan color={'white'}>{topPlayers[0].name}</LinkSpan>{' '}
</Link>
Expand Down

0 comments on commit d2fb8c9

Please sign in to comment.