Skip to content

Commit

Permalink
Fix bug with encounter counter
Browse files Browse the repository at this point in the history
  • Loading branch information
ak505188 committed May 14, 2022
1 parent fe7d449 commit 1885b2b
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 1885b2b

Please sign in to comment.