From 8fd21506b40fdece7870c5f059f4d488b4483d0e Mon Sep 17 00:00:00 2001 From: alterNERDtive Date: Fri, 26 Aug 2022 17:28:36 +0200 Subject: [PATCH] fixed: restart journal reader after game restart --- Back to Pareco.asl | 2 ++ CHANGELOG.md | 6 ++++++ Chicken Run Crash Harder.asl | 2 ++ On the Rocks.asl | 2 ++ The Aquarian Job.asl | 2 ++ Wiccan BeWare.asl | 2 ++ 6 files changed, 16 insertions(+) diff --git a/Back to Pareco.asl b/Back to Pareco.asl index 5dbf91c..98764c6 100644 --- a/Back to Pareco.asl +++ b/Back to Pareco.asl @@ -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. diff --git a/CHANGELOG.md b/CHANGELOG.md index d5c4fb4..e5b88c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/Chicken Run Crash Harder.asl b/Chicken Run Crash Harder.asl index 2bfef0c..32ee463 100644 --- a/Chicken Run Crash Harder.asl +++ b/Chicken Run Crash Harder.asl @@ -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. diff --git a/On the Rocks.asl b/On the Rocks.asl index df49da4..5fa92b8 100644 --- a/On the Rocks.asl +++ b/On the Rocks.asl @@ -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. diff --git a/The Aquarian Job.asl b/The Aquarian Job.asl index f1adebb..97dc4b1 100644 --- a/The Aquarian Job.asl +++ b/The Aquarian Job.asl @@ -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. diff --git a/Wiccan BeWare.asl b/Wiccan BeWare.asl index 0e35508..bcdea03 100644 --- a/Wiccan BeWare.asl +++ b/Wiccan BeWare.asl @@ -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.