Skip to content

Commit

Permalink
Fixes crash when no inputs are loaded (#185)
Browse files Browse the repository at this point in the history
- However, things don't seem to be properly reset
  • Loading branch information
ScribbleTAS committed Apr 1, 2024
1 parent 5be5eb1 commit 08f16ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ private void playbackNextTick() {
}

/* Stop condition */
if (index == inputs.size()) {
if (index == inputs.size() || inputs.isEmpty()) {
unpressContainer();
setTASState(TASstate.NONE);
}
Expand Down

0 comments on commit 08f16ff

Please sign in to comment.