Skip to content

Commit

Permalink
added delay on fleet arrived
Browse files Browse the repository at this point in the history
  • Loading branch information
ametel01 committed Jan 11, 2024
1 parent fabf164 commit 8d7a223
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export const FleetMovements = ({ planetId }: Props) => {

const getTimeDifference = useCallback((arrivalTime: number) => {
const currentTime = Date.now();
const differenceInSeconds = (arrivalTime - currentTime) / 1000;
const differenceInSeconds = (arrivalTime - currentTime) / 1000 + 320;

if (differenceInSeconds <= 0) {
return 'Arrived';
Expand Down

0 comments on commit 8d7a223

Please sign in to comment.