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

Fix frame effect on frame 0 playing twice on playback start #945

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

in1tiate
Copy link
Member

Extra call to CharLayer::play() is what was causing this one. Closes #942

Copy link
Contributor

@Salanto Salanto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this here?

@in1tiate
Copy link
Member Author

Why was this here?

AO2 is absolutely full of this kind of cargo cult code. I guarantee you there are other places we call a function twice for no reason, only reason I ever found this is because it was causing a noticeable problem.

@in1tiate in1tiate merged commit ad6552c into master Mar 25, 2024
10 checks passed
@in1tiate in1tiate deleted the fix-doubleframe0 branch March 25, 2024 09:39
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.

FrameSFX on Frame 0 plays multiple times
2 participants