Skip to content

Game logic fast-forwards at render rate after unpausing when the logic time scale is active #2864

Description

@bobtista

With a render FPS above the logic rate and the logic time scale enabled (e.g. render 60, logic 30), pausing and unpausing makes the simulation run at the render rate (2x speed) for roughly as long as the game was paused, before settling back to normal speed.

Reproduction:

  1. Set max render FPS to 60 and the logic time scale to 30 (debug hotkeys).
  2. Start a single player game, press ESC to open the quit menu (this pauses the game), wait a few seconds.
  3. Click Return to Game. The simulation runs at 60 logic FPS until the pause duration is caught up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions