Skip to content

Conversation

@Paloys
Copy link
Contributor

@Paloys Paloys commented Jan 12, 2026

Before this pull request, LiveSplitOne would not consider the server's "saveAttempt" argument when receiving a reset command. This makes sure the command is full taken into account, by asking the user if they wish to save the times if and only if the command has not provided the "saveAttempt" argument.

@Paloys
Copy link
Contributor Author

Paloys commented Jan 12, 2026

The bindings at https://github.com/LiveSplit/livesplit-core/blob/a135301b008d9211ae37ae14b4dc6cec5a3c2aaa/capi/src/web_command_sink.rs#L144 show that the option is passed to the TypeScript bindings, but LiveSplitOne didn't consider it.

@Paloys
Copy link
Contributor Author

Paloys commented Jan 12, 2026

This is especially useful for autosplitters sending commands through the websocket, like the one I'm developing for Celeste, as they don't have to wait for player input between runs when resetting if the times have been beaten.

@CryZe
Copy link
Collaborator

CryZe commented Jan 12, 2026

Thanks :)

@CryZe CryZe merged commit ca1b6df into LiveSplit:master Jan 12, 2026
4 checks passed
@CryZe CryZe added the enhancement A new feature or general improvement to LiveSplit One. label Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement A new feature or general improvement to LiveSplit One.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants