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 displaying effects with random durations #19

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

Jonekk
Copy link
Contributor

@Jonekk Jonekk commented Nov 5, 2024

Fixes displaying effects with random durations. I got the feeling the Animator object is a huge mess at this point and I have no ambition on fixing it (at least not at this moment as Im not very familiar with codebase). Nevertheless, this change should allow effects with random durations to at least display correctly.

Reproduction:
/z 73

Numbers on videos present currently displayed frame. 12 frames in total for this frame.

  • frame 0 duration is random between 100ms and 2000ms
  • frames 1-11 durations are 100ms each

Before:
Screencast from 05.11.2024 21:09:52.webm

After:
Screencast from 05.11.2024 21:00:36.webm

@Oen44 Oen44 merged commit 357cd91 into OTAcademy:master Nov 6, 2024
0 of 4 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