Skip to content

Restarting application while race is running causes lapTime to reset #20

@bemain

Description

@bemain

Due to currentLap being initialized with a lapTime of 0 when application starts.
CarReference should instead, in the case where currentRace is already running, determine time since last lap and set currentLap.lapTime to that.

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