Merge pull request #1142 from SailorSnoW/fix/lja-achievement-bugfix

Fix LJA achievement triggering from cutscene teleport
This commit is contained in:
qwertyquerty
2026-05-12 19:00:51 -07:00
committed by GitHub
+6
View File
@@ -692,6 +692,12 @@ std::vector<AchievementSystem::Entry> AchievementSystem::makeEntries() {
return;
}
// prevent stuff like https://github.com/TwilitRealm/dusklight/issues/949
if (link->getDemoMode() != 0) {
inJump = false;
return;
}
if (!inJump) {
if (link->mProcID == daAlink_c::PROC_CUT_JUMP) {
inJump = true;