File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
core/src/main/java/oxy/bascenario/screens Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ public void pollEvents(boolean bypass) {
8383
8484 final long duration = peek .waitForDialogue () ? this .sinceDialogue : this .sincePoll ;
8585 if (peek .waitForDialogue () && (this .busyDialogue || this .busyOptions )) {
86+ this .sinceDialogue = 0 ;
8687 break ;
8788 }
8889
@@ -125,6 +126,8 @@ public void pollEvents(boolean bypass) {
125126 boolean busyOptions = this .busyOptions && !(this .optionsRenderer .getScale ().isRunning () && this .optionsRenderer .getScale ().getTarget () == 1 );
126127 if (!busyDialogue && !busyOptions ) {
127128 this .sinceDialogue += timeDelta ;
129+ } else {
130+ this .sinceDialogue = 0 ;
128131 }
129132
130133 this .sinceRender = TimeUtils .currentTimeMillis ();
You can’t perform that action at this time.
0 commit comments