Skip to content

Conversation

@ScribbleTAS
Copy link
Member

What a weird oversight

Up to now, subticks were not recorded in Gui screens.
Reason was that nextTickKeyboard (and Mouse) is called twice when a GuiScreen is open.

nextTickKeyboard adds the current keyboard to the PlaybackController, where it will be recorded at the end of the tick,
then clears the subticks of that keyboard.

By calling the method twice, a keyboard without subticks overwrites the keyboard in the PlaybackController, making it record a subtickless keyboard to the inputs.

@ScribbleTAS ScribbleTAS added Bug Core Issue relates to core concepts Gui Issue relates to guis labels Dec 25, 2024
@ScribbleTAS ScribbleTAS self-assigned this Dec 25, 2024
@ScribbleTAS ScribbleTAS merged commit 5f39737 into MinecraftTAS:develop Dec 25, 2024
2 checks passed
@ScribbleTAS ScribbleTAS deleted the fix/subticks branch December 25, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core Issue relates to core concepts Gui Issue relates to guis

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants