File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/main/kotlin/be4rjp/sclat/weapon Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -492,11 +492,7 @@ object Charger {
492492 } else {
493493 tyaw = target.eyeLocation.yaw.toDouble()
494494 }
495- if ((pyaw - tyaw < 130 && pyaw - tyaw > - 130 ) || pyaw - tyaw > 230 || pyaw - tyaw < - 230 ) {
496- return true
497- } else {
498- return false
499- }
495+ return (pyaw - tyaw < 147 && pyaw - tyaw > - 147 ) || pyaw - tyaw > 213 || pyaw - tyaw < - 213
500496 }
501497
502498 fun isbackstabStand (
@@ -515,6 +511,6 @@ object Charger {
515511 } else {
516512 tyaw = target.eyeLocation.yaw.toDouble()
517513 }
518- return (pyaw - tyaw < 130 && pyaw - tyaw > - 130 ) || pyaw - tyaw > 230 || pyaw - tyaw < - 230
514+ return (pyaw - tyaw < 147 && pyaw - tyaw > - 147 ) || pyaw - tyaw > 213 || pyaw - tyaw < - 213
519515 }
520516}
You can’t perform that action at this time.
0 commit comments