Skip to content

timer is not restarted on relog if game is paused on lost focus #212

@tildejustin

Description

@tildejustin

Describe the bug
pause counter goes to 0 & timer is not restarted immediately if pause on lost focus on relog and any stats opens don't count until unpause.

To Reproduce
Steps to reproduce the behavior:

  1. create new world
  2. ensure pause on lost focus is on
  3. save and quit
  4. join old world, make sure window focus is not on minecraft before the world is joined
  5. set fps to 20, open stats, observe pause counter and igt not increasing

Expected behavior
the timer would start on relog even when unfocused, as the timer had already started before.

Screenshots or logs
affects https://www.speedrun.com/mc/runs/yvx44oez, however the video is private now

Versions info :

  • MC Version: tested on 1.12.2 and 1.16.5
  • SpeedRunIGT Version: 14.2
  • Fabric Loader Version: idk, 0.15+

Additional context
working patch: start_on_relog_or_dimension_load_even_when_unfocused.patch.
unsure if it respects the intention of IS_CHANGING_DIMENSION though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions