Skip to content

make onTick overridable. Make delta positive always.#13

Merged
PlugFox merged 5 commits intomasterfrom
bugfix/ontick-update-fix
Dec 23, 2025
Merged

make onTick overridable. Make delta positive always.#13
PlugFox merged 5 commits intomasterfrom
bugfix/ontick-update-fix

Conversation

@dvmatyun
Copy link
Collaborator

@dvmatyun dvmatyun commented Nov 8, 2025

Fix for onTick method: delta can be negative sometimes and that can break some logic, so 2 solutions:

  1. make it always positive
  2. document in API that delta can have big negative numbers some time.

@PlugFox PlugFox merged commit 48f12af into master Dec 23, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants