修复空中冲刺显示耐力条的bug
This commit is contained in:
parent
5bb1887fec
commit
3d079dbf47
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ public class ClientEventHandler {
|
||||||
exhaustion = false;
|
exhaustion = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ModKeyMappings.BREATH.isDown() || tacticalSprint) {
|
if ((ModKeyMappings.BREATH.isDown() && zoom) || tacticalSprint) {
|
||||||
switchTime = Math.min(switchTime + 0.65, 5);
|
switchTime = Math.min(switchTime + 0.65, 5);
|
||||||
} else if (switchTime > 0 && stamina == 0) {
|
} else if (switchTime > 0 && stamina == 0) {
|
||||||
switchTime = Math.max(switchTime - 0.15, 0);
|
switchTime = Math.max(switchTime - 0.15, 0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue