fixed: restart journal reader after game restart
This commit is contained in:
parent
bc59480ebd
commit
8fd21506b4
6 changed files with 16 additions and 0 deletions
|
@ -79,6 +79,8 @@ startup {
|
||||||
// Executes when LiveSplit detects the game process (see “state” at the top of the file).
|
// 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
|
// See https://github.com/LiveSplit/LiveSplit.AutoSplitters/blob/master/README.md#script-initialization-game-start
|
||||||
init {
|
init {
|
||||||
|
vars.updateJournalReader();
|
||||||
|
vars.journalReader.ReadToEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Executes as long as the game process is running, by default 60 times per second.
|
// Executes as long as the game process is running, by default 60 times per second.
|
||||||
|
|
|
@ -1,7 +1,13 @@
|
||||||
# 6.0 (2022-08-26)
|
# 6.0 (2022-08-26)
|
||||||
|
|
||||||
|
# Added
|
||||||
|
|
||||||
* Support for race 7, Mischief Mile.
|
* Support for race 7, Mischief Mile.
|
||||||
|
|
||||||
|
# Fixed
|
||||||
|
|
||||||
|
* Now correctly loads the next journal file after restarting the game.
|
||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
# 5.0.1 (2022-07-03)
|
# 5.0.1 (2022-07-03)
|
||||||
|
|
|
@ -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.
|
// 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
|
// See https://github.com/LiveSplit/LiveSplit.AutoSplitters/blob/master/README.md#script-initialization-game-start
|
||||||
init {
|
init {
|
||||||
|
vars.updateJournalReader();
|
||||||
|
vars.journalReader.ReadToEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Executes as long as the game process is running, by default 60 times per second.
|
// Executes as long as the game process is running, by default 60 times per second.
|
||||||
|
|
|
@ -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.
|
// 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
|
// See https://github.com/LiveSplit/LiveSplit.AutoSplitters/blob/master/README.md#script-initialization-game-start
|
||||||
init {
|
init {
|
||||||
|
vars.updateJournalReader();
|
||||||
|
vars.journalReader.ReadToEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Executes as long as the game process is running, by default 60 times per second.
|
// Executes as long as the game process is running, by default 60 times per second.
|
||||||
|
|
|
@ -82,6 +82,8 @@ startup {
|
||||||
// Executes when LiveSplit detects the game process (see “state” at the top of the file).
|
// 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
|
// See https://github.com/LiveSplit/LiveSplit.AutoSplitters/blob/master/README.md#script-initialization-game-start
|
||||||
init {
|
init {
|
||||||
|
vars.updateJournalReader();
|
||||||
|
vars.journalReader.ReadToEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Executes as long as the game process is running, by default 60 times per second.
|
// Executes as long as the game process is running, by default 60 times per second.
|
||||||
|
|
|
@ -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.
|
// 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
|
// See https://github.com/LiveSplit/LiveSplit.AutoSplitters/blob/master/README.md#script-initialization-game-start
|
||||||
init {
|
init {
|
||||||
|
vars.updateJournalReader();
|
||||||
|
vars.journalReader.ReadToEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Executes as long as the game process is running, by default 60 times per second.
|
// Executes as long as the game process is running, by default 60 times per second.
|
||||||
|
|
Loading…
Reference in a new issue