Skip to content

Commit

Permalink
Merge pull request #31 from Eein/xbox
Browse files Browse the repository at this point in the history
Fix bug with encounter counter
  • Loading branch information
ak505188 authored May 14, 2022
2 parents 14a6ca6 + 1885b2b commit 0c3cfde
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions octopath.asl
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ init {
}
return false;
});

vars.UpdateCounter = (Action)(() => {
vars.counterTextComponent.Settings.Text2 = vars.encounters + "/" + vars.deaths;
});

// Stole this from FF13 Autosplitter, thanks Roosta :)
// Might be better implementation possible
Expand All @@ -96,10 +100,6 @@ init {
}
}
}

vars.UpdateCounter = (Action)(() => {
vars.counterTextComponent.Settings.Text2 = vars.encounters + "/" + vars.deaths;
});
}

onReset {
Expand Down

0 comments on commit 0c3cfde

Please sign in to comment.