Rearrange queue up sprint block

This commit is contained in:
sigonasr2 2023-06-04 22:43:00 -05:00
parent 82cec1e8fb
commit 1a70f48a96

View File

@ -463,17 +463,14 @@ class Server
break; break;
} }
fightLoop:
while (true){
if (fighting){
if (queueUpSprint){ if (queueUpSprint){
PressKey(KeyEvent.VK_N); PressKey(KeyEvent.VK_N);
nextActionTimer=100; nextActionTimer=100;
break fightLoop; queueUpSprint=false;
} } else {
if (fighting){
run(Rotation.SCHOLAR); run(Rotation.SCHOLAR);
} }
break fightLoop;
} }
long difference=System.currentTimeMillis()-lastFrame; long difference=System.currentTimeMillis()-lastFrame;
bioTimer=Math.max(0,bioTimer-difference); bioTimer=Math.max(0,bioTimer-difference);