Skip to content

Commit

Permalink
Fix event-value time states #671 (#3149)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLimeGlass authored Jul 17, 2020
1 parent 5786216 commit 73565b8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ public boolean setTime(final int time) {
assert e != null;
if (EventValues.doesEventValueHaveTimeStates(e, c)) {
super.setTime(time);
// Since the time was changed, we now need to re-initalize the getters we already got. START
getters.clear();
init();
// END
return true;
}
}
Expand Down

0 comments on commit 73565b8

Please sign in to comment.