Preserve accumulator on yield (#11568)
This commit is contained in:
@@ -529,11 +529,11 @@ public class LogicBlock extends Block{
|
||||
|
||||
while(accumulator >= 1f){
|
||||
executor.runOnce();
|
||||
accumulator --;
|
||||
if(executor.yield){
|
||||
executor.yield = false;
|
||||
break;
|
||||
}
|
||||
accumulator --;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user