Preserve accumulator on yield (#11568)

This commit is contained in:
Cardillan
2026-01-15 22:52:23 -05:00
committed by GitHub
parent ee3be887cd
commit f4fb105adc
@@ -529,11 +529,11 @@ public class LogicBlock extends Block{
while(accumulator >= 1f){ while(accumulator >= 1f){
executor.runOnce(); executor.runOnce();
accumulator --;
if(executor.yield){ if(executor.yield){
executor.yield = false; executor.yield = false;
break; break;
} }
accumulator --;
} }
} }
} }