forked from LiveSplit/LiveSplit.Server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add message response on error + several bugfixes (LiveSplit#38)
* Condense message response sending * Add message response on caught error Also add error for unrecognized message * Fix: Default response to "-" when appropriate Fixes several commands related to "current" or "previous" splits throwing errors when ran before the timer is started * Fix: Previous split name responds incorrectly `getprevioussplitname` has (likely) never returned the name of the previous split, it responded with the name of the current split * Add alias `getcurrentsplittime` for `getcomparisonsplittime` `getcurrentsplittime` is a more user-friendly name that also does not introduce any additional confusion since the ongoing run cannot have a "current split time," only a previous one. * Add optional comparison parameter to `getcomparisonsplittime`/`getcurrentsplittime` * Protect `setsplitname` against finished runs * Update syntax and "unrecognized command" messaging
- Loading branch information
Showing
1 changed file
with
55 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters