Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2026-01-14 17:59:39 -05:00

View File

@@ -1167,7 +1167,12 @@ public class LExecutor{
@Override
public void run(LExecutor exec){
if(curTime >= value.num()){
if(value.num() <= 0){
// Just yield without executing the wait again
exec.yield = true;
// Start the next wait afresh ('value' might have been modified remotely by a different processor)
curTime = 0f;
}else if(curTime >= value.num()){
curTime = 0f;
}else{
//skip back to self.