From 7bd0f7d195641e2ce8786673f260af118d8b212d Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 15 Mar 2025 14:27:00 -0400 Subject: [Lingo 2] Fix not splitting on some collectibles Collectibles that happened at the same time as another trigger (e.g. solving a panel) would not trigger. --- Lingo 2.asl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Lingo 2.asl') diff --git a/Lingo 2.asl b/Lingo 2.asl index e0878d2..2f28d2f 100644 --- a/Lingo 2.asl +++ b/Lingo 2.asl @@ -268,7 +268,8 @@ split vars.prevPanel = vars.lastPanel; } - else if (vars.currentMap.Current != vars.prevMap) + + if (!should_split && vars.currentMap.Current != vars.prevMap) { if (settings["maps"] || vars.importantMaps.Contains(vars.currentMap.Current) || vars.importantMultiMaps.Contains(vars.currentMap.Current)) { @@ -300,7 +301,8 @@ split vars.prevMap = vars.currentMap.Current; } - else if (vars.latestKeyKey != null && !vars.collectedKeys.Contains(vars.latestKeyKey)) + + if (!should_split && vars.latestKeyKey != null && !vars.collectedKeys.Contains(vars.latestKeyKey)) { if (settings["keys"] || vars.importantKeys.Contains(vars.latestKeyKey)) { @@ -310,7 +312,8 @@ split vars.collectedKeys.Add(vars.latestKeyKey); } - else if (vars.latestCollectible.Current != vars.latestCollectible.Old) + + if (!should_split && vars.latestCollectible.Current != vars.latestCollectible.Old) { if (vars.importantCollectibles.Contains(vars.latestCollectible.Current)) { -- cgit 1.4.1