Skip to content

fix(game): Excessive rollback when an Effect is active#198

Merged
elementbound merged 1 commit intomainfrom
fix/excessive-effect-rollback
Feb 3, 2024
Merged

fix(game): Excessive rollback when an Effect is active#198
elementbound merged 1 commit intomainfrom
fix/excessive-effect-rollback

Conversation

@elementbound
Copy link
Copy Markdown
Contributor

Powerup effects forced rollback from the tick they were spawned to ensure they are applied correctly. This was done through the whole lifetime of the effect, which lead to excessive rollback and potential perf drops.

Rollback is forced once to ensure the effect is applied, but only once.

@elementbound elementbound merged commit 39f2e55 into main Feb 3, 2024
@elementbound elementbound deleted the fix/excessive-effect-rollback branch February 3, 2024 17:32
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.

1 participant