fixed: restart journal reader after game restart

This commit is contained in:
alterNERDtive 2022-08-26 17:28:36 +02:00
parent bc59480ebd
commit 8fd21506b4
Signed by: alterNERDtive
GPG key ID: 547787A4FE6533F1
6 changed files with 16 additions and 0 deletions

View file

@ -79,6 +79,8 @@ startup {
// Executes when LiveSplit detects the game process (see “state” at the top of the file).
// See https://github.com/LiveSplit/LiveSplit.AutoSplitters/blob/master/README.md#script-initialization-game-start
init {
vars.updateJournalReader();
vars.journalReader.ReadToEnd();
}
// Executes as long as the game process is running, by default 60 times per second.

View file

@ -1,7 +1,13 @@
# 6.0 (2022-08-26)
# Added
* Support for race 7, Mischief Mile.
# Fixed
* Now correctly loads the next journal file after restarting the game.
-----
# 5.0.1 (2022-07-03)

View file

@ -97,6 +97,8 @@ startup {
// We also need to check if file logging is enabled (the setting is not available in `startup`) and create/open our log file.
// See https://github.com/LiveSplit/LiveSplit.AutoSplitters/blob/master/README.md#script-initialization-game-start
init {
vars.updateJournalReader();
vars.journalReader.ReadToEnd();
}
// Executes as long as the game process is running, by default 60 times per second.

View file

@ -72,6 +72,8 @@ startup {
// We also need to check if file logging is enabled (the setting is not available in `startup`) and create/open our log file.
// See https://github.com/LiveSplit/LiveSplit.AutoSplitters/blob/master/README.md#script-initialization-game-start
init {
vars.updateJournalReader();
vars.journalReader.ReadToEnd();
}
// Executes as long as the game process is running, by default 60 times per second.

View file

@ -82,6 +82,8 @@ startup {
// Executes when LiveSplit detects the game process (see “state” at the top of the file).
// See https://github.com/LiveSplit/LiveSplit.AutoSplitters/blob/master/README.md#script-initialization-game-start
init {
vars.updateJournalReader();
vars.journalReader.ReadToEnd();
}
// Executes as long as the game process is running, by default 60 times per second.

View file

@ -85,6 +85,8 @@ startup {
// We also need to check if file logging is enabled (the setting is not available in `startup`) and create/open our log file.
// See https://github.com/LiveSplit/LiveSplit.AutoSplitters/blob/master/README.md#script-initialization-game-start
init {
vars.updateJournalReader();
vars.journalReader.ReadToEnd();
}
// Executes as long as the game process is running, by default 60 times per second.