Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playtime labels in character setup shows wrong time #32973

Open
stalengd opened this issue Oct 23, 2024 · 0 comments · May be fixed by #32974
Open

Playtime labels in character setup shows wrong time #32973

stalengd opened this issue Oct 23, 2024 · 0 comments · May be fixed by #32974
Labels
Status: Untriaged Somebody go through and give this appropriate labels

Comments

@stalengd
Copy link
Contributor

Description

All the labels on the character setup screen in the lobby show the wrong time if it exceeds 24 hours. Specifically in these places:

  • "You require more playtime" when hovering over locked role
  • User playtime stats overall time
  • User playtime stats role time
  • "You require more playtime" when hovering over locked loadout item

Reproduction

  1. Open character setup screen
  2. Find locked role/loadout item where difference between required playtime and current playtime is greater than 24 hours

Screenshots
image
Research Director requires 40 hours (Roles\Jobs\Science\research_director.yml), here with 1:31 playtime label tells that only 14:28 more is needed

image
golden plunger requires 52 hours (Loadouts\Jobs\Civilian\janitor.yml), here with 0 playtime on janitor label tells that only 4 hours more is needed

Additional context
Looks like this is broken after #32806, but screenshot there somehow is fine. There labels uses TimeSpan.ToString(@"%h\H\ %m\M"), where %h means hours in a day, not total hours, so there is no way this can work.

@github-actions github-actions bot added the Status: Untriaged Somebody go through and give this appropriate labels label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged Somebody go through and give this appropriate labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant