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

Problem with quicksaving #301

Open
Jersukai opened this issue Aug 27, 2024 · 2 comments
Open

Problem with quicksaving #301

Jersukai opened this issue Aug 27, 2024 · 2 comments
Milestone

Comments

@Jersukai
Copy link

Loading an older save (or Reload Autosave) can prevent making quick saves for some time.

@Lordmau5
Copy link
Member

The way quicksaving works is by checking the difference between the game's current time in milliseconds and the time that the last quicksave happened.

Thinking of how to fix it I came up with a better solution than I thought - while not perfect, calculating the difference between the 2 (as in, A - B) and then making sure the result is absolute (so negative becomes positive and positive stays positive) means I can just do a, say, 10 second difference check (since that's how long the effect runs)

@Lordmau5
Copy link
Member

Nevermind, it was much easier than that. I just forgot to reset it back to 0 when the scripts were loaded...

@Lordmau5 Lordmau5 added this to the 3.3.0 milestone Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants